Update CORS
This commit is contained in:
parent
59a0d9951d
commit
a69b1ec8ab
|
@ -11,7 +11,12 @@ const server = new ApolloServer({
|
|||
cors:
|
||||
process.env.NODE_ENV === 'production'
|
||||
? {
|
||||
origin: ['http://ti.pp.ifms.edu.br']
|
||||
origin: [
|
||||
'http://ifms-pti-web.paas1.pp.ifms.edu.br',
|
||||
'https://ifms-pti-web.paas1.pp.ifms.edu.br',
|
||||
'http://ti.pp.ifms.edu.br',
|
||||
'https://ti.pp.ifms.edu.br'
|
||||
]
|
||||
}
|
||||
: true,
|
||||
typeDefs,
|
||||
|
|
Loading…
Reference in New Issue
Block a user