1
0
Fork 0
forked from gorb/backend

feat: add backend_url config option

Required for refresh_token cookie to work properly
This commit is contained in:
Radical 2025-05-31 17:11:14 +02:00
parent 4fce262551
commit 6783bd22a7
6 changed files with 12 additions and 14 deletions

View file

@ -155,7 +155,7 @@ async fn main() -> Result<(), Error> {
App::new()
.app_data(web::Data::new(data.clone()))
.wrap(cors)
.service(api::web(&data.config.web.base_path))
.service(api::web(&data.config.web.backend_url.path()))
})
.bind((web.ip, web.port))?
.run()