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
|
||||
|
||||
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
|
||||
|
||||
EXPOSE 80
|
||||
|
@ -16,6 +16,8 @@ http {
|
||||
server_name _; # Listen on all hostnames
|
||||
listen 80; # Listen on port 80
|
||||
|
||||
root /var/www/html; # Serve files from /var/www/html
|
||||
|
||||
# Gzip
|
||||
gzip on;
|
||||
gzip_disable "msie6";
|
||||
|
@ -4,7 +4,7 @@ const { UserscriptPlugin } = require('webpack-userscript');
|
||||
|
||||
module.exports = {
|
||||
entry: './src/index.ts',
|
||||
mode: 'production',
|
||||
mode: process.env.NODE_ENV || 'development',
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
@ -20,13 +20,13 @@ module.exports = {
|
||||
plugins: [
|
||||
new UserscriptPlugin({
|
||||
metajs: false,
|
||||
downloadBaseURL: 'https://ssu.fascinated.cc/scripts',
|
||||
updateBaseURL: 'https://ssu.fascinated.cc/scripts',
|
||||
headers: {
|
||||
name: "ScoreSaber Utils",
|
||||
author: "fascinated7 (discord)",
|
||||
"run-at": "document-end",
|
||||
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'}`,
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user