Skip to content

Commit

Permalink
scratch - cors
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielSchaffer committed Feb 2, 2020
1 parent 1ec7fae commit 70bba3f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/dandi/mvc/src/default-route-initializer.ts
Expand Up @@ -208,6 +208,7 @@ export class DefaultRouteInitializer implements RouteInitializer {
}
return undefined
}))
// FIXME: why does this not correctly filter out siblings with incompatible cors configs?
return allowedMethods.filter(method => !!method)
}
}

0 comments on commit 70bba3f

Please sign in to comment.