finish add/buy in frontend
This commit is contained in:
@@ -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