We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd0493b commit cf62fe8Copy full SHA for cf62fe8
.github/workflows/main.yml
@@ -38,6 +38,7 @@ jobs:
38
PUBLIC_URL: 'https://static.velog.io/'
39
REACT_APP_REDIS_HOST: ${{ secrets.REDIS_HOST }}
40
REACT_APP_CLIENT_V3_HOST: 'https://velog.io'
41
+ REACT_APP_WHITELIST_IPS: ${{ secrets.REACT_APP_WHITELIST_IPS }}
42
CI: false
43
- name: upload
44
env:
src/server/rateLimitMiddleware.ts
@@ -8,7 +8,7 @@ const parseNumber = (value: string | null) => {
8
return parsed;
9
};
10
11
-const WHITELIST_IPS = (process.env.WHITELIST_IPS ?? '')
+const WHITELIST_IPS = (process.env.REACT_APP_WHITELIST_IPS ?? '')
12
.split(',')
13
.map((ip) => ip.trim());
14
0 commit comments