Skip to content

Commit 7326a27

Browse files
Casper64spytheman
authored andcommitted
fix
1 parent a01c0d2 commit 7326a27

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/xvweb/cors/vweb_cors_example.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ xhr.send();
4949
// use vweb's cors middleware to handle CORS requests
5050
app.use(vweb.cors[Context](vweb.CorsOptions{
5151
// allow CORS requests from every domain
52-
origins: ['google.com']
52+
origins: ['*']
5353
// allow CORS requests with the following request methods:
5454
allowed_methods: [.get, .head, .patch, .put, .post, .delete]
5555
}))

0 commit comments

Comments
 (0)