他のウェブサイトから直接MisskeyAPIを利用できるように
This commit is contained in:
parent
c60b83f0dd
commit
6f2fde0304
2 changed files with 36 additions and 7 deletions
|
|
@ -26,9 +26,7 @@ app.use(bodyParser.json({
|
|||
}
|
||||
}
|
||||
}));
|
||||
app.use(cors({
|
||||
origin: true
|
||||
}));
|
||||
app.use(cors());
|
||||
|
||||
app.get('/', (req, res) => {
|
||||
res.send('YEE HAW');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue