Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 95b43dceec | |||
| 65afa886af |
@@ -26,6 +26,7 @@ app.use('*', cors({
|
|||||||
}));
|
}));
|
||||||
|
|
||||||
app.get('/health', (c) => c.json({ status: 'ok', version: '0.1.0' }));
|
app.get('/health', (c) => c.json({ status: 'ok', version: '0.1.0' }));
|
||||||
|
app.get('/api/health', (c) => c.json({ status: 'ok', version: '0.1.0' }));
|
||||||
|
|
||||||
app.get('/api/config', (c) => c.json({
|
app.get('/api/config', (c) => c.json({
|
||||||
requireInvite: process.env.REQUIRE_INVITE !== 'false',
|
requireInvite: process.env.REQUIRE_INVITE !== 'false',
|
||||||
|
|||||||
@@ -10,10 +10,6 @@ server {
|
|||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /health {
|
|
||||||
proxy_pass http://server:3001;
|
|
||||||
}
|
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
try_files $uri $uri/ /index.html;
|
try_files $uri $uri/ /index.html;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user