mirror of
https://github.com/strapi/strapi.git
synced 2025-12-26 14:44:31 +00:00
Allow cach-control in example app to work with rapidoc
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
This commit is contained in:
parent
b335a859d9
commit
0e1595d629
7
examples/getstarted/config/middleware.js
Normal file
7
examples/getstarted/config/middleware.js
Normal file
@ -0,0 +1,7 @@
|
||||
module.exports = {
|
||||
settings: {
|
||||
cors: {
|
||||
headers: ['Content-Type', 'Authorization', 'Origin', 'Accept', 'Cache-Control'],
|
||||
},
|
||||
},
|
||||
};
|
||||
Loading…
x
Reference in New Issue
Block a user