mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-17 20:45:34 +02:00
他のウェブサイトから直接MisskeyAPIを利用できるように
This commit is contained in:
@@ -26,9 +26,7 @@ app.use(bodyParser.json({
|
||||
}
|
||||
}
|
||||
}));
|
||||
app.use(cors({
|
||||
origin: true
|
||||
}));
|
||||
app.use(cors());
|
||||
|
||||
app.get('/', (req, res) => {
|
||||
res.send('YEE HAW');
|
||||
|
||||
Reference in New Issue
Block a user