forked from gorb/backend
feat: add backend_url config option
Required for refresh_token cookie to work properly
This commit is contained in:
parent
4fce262551
commit
6783bd22a7
6 changed files with 12 additions and 14 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue