|
|
|
@ -32,7 +32,7 @@ app.use(express.static(path.join(__dirname, 'public'))); |
|
|
|
|
console.debug(`webClient:${process.env.webClient}`) |
|
|
|
|
|
|
|
|
|
app.use(cors({ |
|
|
|
|
origin:[process.env.webClient,process.env.devClient], |
|
|
|
|
origin:[process.env.webClient], |
|
|
|
|
credentials:true |
|
|
|
|
})) |
|
|
|
|
app.use('/', indexRouter); |
|
|
|
|