Marques
02/19/2023, 8:12 PMAccess-Control-Allow-Origin
Marques
02/19/2023, 8:17 PMappInfo: {
appName: 'RCRaceControl',
apiDomain: 'http://localhost:8080',
apiBasePath: "/auth",
},
recipeList: [
Session.init(),
ThirdPartyEmailPassword.init()
]
My React Project
app.enableCors({
origin: 'http://localhost:5173',
allowedHeaders: ['content-type', ...SuperTokens.getAllCORSHeaders()],
methods: ['GET', 'PUT', 'POST', 'DELETE'],
credentials: true,
});
My NestJS ProjectMarques
02/19/2023, 8:17 PMhttp://localhost:5173
and my api is running on http://localhost:8080
rp_st
02/20/2023, 5:32 AM