他のウェブサイトから直接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