+11
.dockerignore
+11
.dockerignore
+32
Dockerfile
+32
Dockerfile
···
···+CMD bun -e "fetch('http://localhost:3000/health').then(r => r.ok ? process.exit(0) : process.exit(1)).catch(() => process.exit(1))"
+34
hosting-service/.dockerignore
+34
hosting-service/.dockerignore
···
···
+31
hosting-service/Dockerfile
+31
hosting-service/Dockerfile
···
···+CMD bun -e "fetch('http://localhost:3001/health').then(r => r.ok ? process.exit(0) : process.exit(1)).catch(() => process.exit(1))"
+25
-1
hosting-service/src/lib/utils.ts
+25
-1
hosting-service/src/lib/utils.ts
···
···
+35
-3
hosting-service/src/server.ts
+35
-3
hosting-service/src/server.ts
···-import { resolveDid, getPdsForDid, fetchSiteRecord, downloadAndCacheSite, getCachedFilePath, isCached } from './lib/utils';···············
···+import { resolveDid, getPdsForDid, fetchSiteRecord, downloadAndCacheSite, getCachedFilePath, isCached, sanitizePath } from './lib/utils';···············
+20
src/routes/domain.ts
+20
src/routes/domain.ts
······
······
+31
src/routes/wisp.ts
+31
src/routes/wisp.ts
······
······+throw new Error('Invalid site name: must be 1-512 characters and contain only alphanumeric, dots, dashes, underscores, tildes, and colons')