xxscreeps-mod-client 0.2.5 → 0.2.6

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.
Files changed (2) hide show
  1. package/backend.js +1 -0
  2. package/package.json +2 -2
package/backend.js CHANGED
@@ -47,6 +47,7 @@ const rootRedirect = readBool('SCREEPS_MOD_CLIENT_ROOT_REDIRECT', true)
47
47
 
48
48
  // Paths that should never be handled by the client mod, even when mounted at '/'.
49
49
  // Can be overridden via SCREEPS_MOD_CLIENT_EXCLUDE (comma-separated prefixes).
50
+ // Note: /assets/ is reserved by the game server; the client bundle uses /_client/ instead.
50
51
  const DEFAULT_EXCLUDES = ['/api/', '/socket', '/backend/', '/auth/', '/assets/', '/map/']
51
52
  const excludePrefixes = process.env.SCREEPS_MOD_CLIENT_EXCLUDE
52
53
  ? process.env.SCREEPS_MOD_CLIENT_EXCLUDE.split(',').map(s => s.trim()).filter(Boolean)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xxscreeps-mod-client",
3
- "version": "0.2.5",
3
+ "version": "0.2.6",
4
4
  "description": "xxscreeps mod that serves the screeps-client and connects it to the same server.",
5
5
  "type": "module",
6
6
  "xxscreeps": true,
@@ -23,7 +23,7 @@
23
23
  "node": ">=20"
24
24
  },
25
25
  "dependencies": {
26
- "screeps-client": "^0.4.0"
26
+ "screeps-client": "^0.4.1"
27
27
  },
28
28
  "peerDependencies": {
29
29
  "xxscreeps": "*"