finish add/buy in frontend

This commit is contained in:
2019-10-03 12:37:22 +02:00
parent 2e7afa9bb0
commit 60b489e8fd
6 changed files with 50 additions and 42 deletions

View File

@@ -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),
)