We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a01c0d2 commit 7326a27Copy full SHA for 7326a27
1 file changed
examples/xvweb/cors/vweb_cors_example.v
@@ -49,7 +49,7 @@ xhr.send();
49
// use vweb's cors middleware to handle CORS requests
50
app.use(vweb.cors[Context](vweb.CorsOptions{
51
// allow CORS requests from every domain
52
- origins: ['google.com']
+ origins: ['*']
53
// allow CORS requests with the following request methods:
54
allowed_methods: [.get, .head, .patch, .put, .post, .delete]
55
}))
0 commit comments