Compare commits

...

2 Commits

Author SHA1 Message Date
7210f55d42 fix conf 2023-07-26 15:02:24 +02:00
b80c100953 cleanup 2023-07-26 14:46:14 +02:00
2 changed files with 3 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
FROM node:18-alpine as build
FROM node:18-alpine AS build
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm ci

View File

@@ -1,4 +1,6 @@
server {
root /usr/share/nginx/html;
add_header 'Access-Control-Allow-Origin' 'https://api.eveal.shendai.rip,https://evepraisal.shendai.rip' always;
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS' always;
add_header 'Access-Control-Allow-Headers' 'DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range' always;