finish add/buy in frontend
This commit is contained in:
1 parent
2e7afa9bb0
commit
60b489e8fd
6 files changed
+50
-42
No files matched your search
+1
-1
@@ -84,7 +84,7 @@ pub(crate) fn serve() -> std::io::Result<()> {
|
||||
.data(pool.clone())
|
||||
.wrap(
|
||||
Cors::new()
|
||||
.allowed_origin("http://localhost:8088")
|
||||
.allowed_origin("http://localhost:8080")
|
||||
.allowed_methods(vec!["GET", "POST", "PUT", "DELETE", "OPTIONS"])
|
||||
.max_age(3600),
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user