mirror of
https://github.com/smogon/pokemon-showdown-loginserver.git
synced 2026-03-21 17:34:38 -05:00
Allow CORS in replays/search
This commit is contained in:
parent
027c12df22
commit
a03ae82ab1
|
|
@ -710,6 +710,7 @@ export const actions: {[k: string]: QueryHandler} = {
|
|||
return Replays.recent();
|
||||
},
|
||||
async 'replays/search'(params) {
|
||||
this.allowCORS();
|
||||
const search = {
|
||||
username: toID(params.username),
|
||||
username2: toID(params.username2),
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user