他のウェブサイトから直接MisskeyAPIを利用できるように

This commit is contained in:
syuilo
2017-12-10 18:08:28 +09:00
parent c60b83f0dd
commit 6f2fde0304
2 changed files with 36 additions and 7 deletions

View File

@@ -26,9 +26,7 @@ app.use(bodyParser.json({
}
}
}));
app.use(cors({
origin: true
}));
app.use(cors());
app.get('/', (req, res) => {
res.send('YEE HAW');