swapping ports

This commit is contained in:
C-West8
2026-10-23 10:09:47 -05:00
parent 5d105bd0ed
commit 064246ce42
5 changed files with 15 additions and 11 deletions

View File

@@ -13,12 +13,16 @@ export default defineConfig({
adapter: adapter(),
paths: {
// Kit 3 fixes the site's address at build time. When unset, requests are assumed to
// arrive over HTTPS (e.g. through a reverse proxy). Set ORIGIN (e.g. http://sync:3000)
// arrive over HTTPS (e.g. through a reverse proxy). Set ORIGIN (e.g. http://sync:3288)
// when serving plain HTTP, or form posts are rejected as cross-site.
origin: process.env.ORIGIN || undefined
}
})
],
// Off the defaults (5173/4173), which other projects on the same machines use. strictPort
// fails loudly instead of quietly moving to the next free port.
server: { port: 5288, strictPort: true },
preview: { port: 4288, strictPort: true },
test: {
expect: { requireAssertions: true },
projects: [