FIX: Switched port to 3100 for frontend
This commit is contained in:
parent
ba81f0f98a
commit
c8ed5871ce
@ -35,7 +35,7 @@ const INVALID_EXTS: string[] = ["exe", "dll", "obj", "lib", "bin", "dat", "pdf",
|
||||
* TODO: Update hosts for production
|
||||
*/
|
||||
const corsOptions: cors.CorsOptions = {
|
||||
origin: ["http://localhost:5173"],
|
||||
origin: ["http://localhost:3100"],
|
||||
methods: ["GET"]
|
||||
};
|
||||
APP.use(cors(corsOptions));
|
||||
|
||||
@ -4,6 +4,9 @@ import tailwindcss from "@tailwindcss/vite";
|
||||
|
||||
// https://vite.dev/config/
|
||||
export default defineConfig({
|
||||
server: {
|
||||
port: 3100,
|
||||
},
|
||||
plugins: [
|
||||
react(), tailwindcss(),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user