thevoidforge 21.0.0 → 21.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/wizard/danger-room.config.json +5 -0
- package/dist/wizard/server.js +3 -1
- package/dist/wizard/ui/app.js +1231 -0
- package/dist/wizard/ui/danger-room-prophecy.js +217 -0
- package/dist/wizard/ui/danger-room.html +626 -0
- package/dist/wizard/ui/danger-room.js +880 -0
- package/dist/wizard/ui/deploy.html +177 -0
- package/dist/wizard/ui/deploy.js +582 -0
- package/dist/wizard/ui/favicon.svg +11 -0
- package/dist/wizard/ui/index.html +394 -0
- package/dist/wizard/ui/lobby.html +228 -0
- package/dist/wizard/ui/lobby.js +783 -0
- package/dist/wizard/ui/login.html +110 -0
- package/dist/wizard/ui/login.js +184 -0
- package/dist/wizard/ui/rollback.js +107 -0
- package/dist/wizard/ui/styles.css +1029 -0
- package/dist/wizard/ui/tower.html +171 -0
- package/dist/wizard/ui/tower.js +444 -0
- package/dist/wizard/ui/war-room-prophecy.js +217 -0
- package/dist/wizard/ui/war-room.html +219 -0
- package/dist/wizard/ui/war-room.js +285 -0
- package/package.json +2 -2
package/dist/wizard/server.js
CHANGED
|
@@ -165,11 +165,13 @@ async function handleRequest(req, res) {
|
|
|
165
165
|
const path = url.pathname;
|
|
166
166
|
const isLanSafe = path.startsWith('/api/danger-room/')
|
|
167
167
|
|| path.startsWith('/api/war-room/')
|
|
168
|
+
|| path.startsWith('/api/project/')
|
|
169
|
+
|| path.startsWith('/api/projects')
|
|
168
170
|
|| path === '/api/danger-room/heartbeat'
|
|
169
171
|
|| path.endsWith('.html') || path.endsWith('.js') || path.endsWith('.css')
|
|
170
172
|
|| path.endsWith('.svg') || path.endsWith('.png') || path.endsWith('.ico')
|
|
171
173
|
|| path === '/' || path === '/danger-room.html' || path === '/war-room.html'
|
|
172
|
-
|| path === '/lobby.html' || path.startsWith('/styles');
|
|
174
|
+
|| path === '/lobby.html' || path === '/index.html' || path.startsWith('/styles');
|
|
173
175
|
if (!isLanSafe) {
|
|
174
176
|
sendJson(res, 403, { success: false, error: 'Endpoint not available in LAN mode. Use --remote for full access.' });
|
|
175
177
|
return;
|