fix: set the allowed origins
This commit is contained in:
@@ -4,4 +4,5 @@ export default {
|
||||
// Config options...
|
||||
// Server-side render by default, to enable SPA mode set this to `false`
|
||||
ssr: true,
|
||||
allowedActionOrigins: ["sharper.ly", "*.sharper.ly"]
|
||||
} satisfies Config;
|
||||
|
||||
@@ -21,4 +21,7 @@ export default defineConfig({
|
||||
resolver, so the server build ends up with exactly one React. */
|
||||
noExternal: ["react-router"],
|
||||
},
|
||||
server: {
|
||||
allowedHosts: ["dev.sharper.ly", "sharper.ly"]
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user