mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-07-23 06:51:04 -04:00
Database Setup Page (#2738)
* WIP * WIP: Database setup process * Add database setup page
This commit is contained in:
parent
db4663d6be
commit
e4183ee2b7
16 changed files with 513 additions and 59 deletions
|
@ -613,6 +613,7 @@ exports.allowDevAllOrigin = (res) => {
|
|||
*/
|
||||
exports.allowAllOrigin = (res) => {
|
||||
res.header("Access-Control-Allow-Origin", "*");
|
||||
res.header("Access-Control-Allow-Methods", "GET, PUT, POST, DELETE, OPTIONS");
|
||||
res.header("Access-Control-Allow-Headers", "Origin, X-Requested-With, Content-Type, Accept");
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue