maybe fix it?
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 34s
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 34s
This commit is contained in:
parent
68e6b71020
commit
0a81c26d08
@ -34,7 +34,7 @@ RUN \
|
|||||||
|
|
||||||
FROM nginx:alpine AS runner
|
FROM nginx:alpine AS runner
|
||||||
|
|
||||||
COPY --from=builder /app/dist/ /usr/share/nginx/html
|
COPY --from=builder /app/dist/ /var/www/html
|
||||||
COPY --from=builder /app/nginx.conf /etc/nginx/nginx.conf
|
COPY --from=builder /app/nginx.conf /etc/nginx/nginx.conf
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
@ -16,6 +16,8 @@ http {
|
|||||||
server_name _; # Listen on all hostnames
|
server_name _; # Listen on all hostnames
|
||||||
listen 80; # Listen on port 80
|
listen 80; # Listen on port 80
|
||||||
|
|
||||||
|
root /var/www/html; # Serve files from /var/www/html
|
||||||
|
|
||||||
# Gzip
|
# Gzip
|
||||||
gzip on;
|
gzip on;
|
||||||
gzip_disable "msie6";
|
gzip_disable "msie6";
|
||||||
|
@ -4,7 +4,7 @@ const { UserscriptPlugin } = require('webpack-userscript');
|
|||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
entry: './src/index.ts',
|
entry: './src/index.ts',
|
||||||
mode: 'production',
|
mode: process.env.NODE_ENV || 'development',
|
||||||
module: {
|
module: {
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
@ -20,13 +20,13 @@ module.exports = {
|
|||||||
plugins: [
|
plugins: [
|
||||||
new UserscriptPlugin({
|
new UserscriptPlugin({
|
||||||
metajs: false,
|
metajs: false,
|
||||||
|
downloadBaseURL: 'https://ssu.fascinated.cc/scripts',
|
||||||
|
updateBaseURL: 'https://ssu.fascinated.cc/scripts',
|
||||||
headers: {
|
headers: {
|
||||||
name: "ScoreSaber Utils",
|
name: "ScoreSaber Utils",
|
||||||
author: "fascinated7 (discord)",
|
author: "fascinated7 (discord)",
|
||||||
"run-at": "document-end",
|
"run-at": "document-end",
|
||||||
match: "https://scoresaber.com/*",
|
match: "https://scoresaber.com/*",
|
||||||
updateURL: "https://ssu.fascinated.cc/scripts/bundle.user.js",
|
|
||||||
downloadURL: "https://ssu.fascinated.cc/scripts/bundle.user.js",
|
|
||||||
version: `1.0.0-${process.env.GIT_REV || 'dev'}`,
|
version: `1.0.0-${process.env.GIT_REV || 'dev'}`,
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user