swapping ports
This commit is contained in:
@@ -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: [
|
||||
|
||||
Reference in New Issue
Block a user