Compare commits
2 Commits
298b5c645d
...
7210f55d42
| Author | SHA1 | Date | |
|---|---|---|---|
| 7210f55d42 | |||
| b80c100953 |
@@ -1,4 +1,4 @@
|
|||||||
FROM node:18-alpine as build
|
FROM node:18-alpine AS build
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY package.json package-lock.json ./
|
COPY package.json package-lock.json ./
|
||||||
RUN npm ci
|
RUN npm ci
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
server {
|
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-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-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;
|
add_header 'Access-Control-Allow-Headers' 'DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range' always;
|
||||||
|
|||||||
Reference in New Issue
Block a user