alessandro trinca tornidor commited on
Commit
97b0909
1 Parent(s): 8770635

feat: improve use of variables from WORKDIR, FASTAPI_STATIC

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -43,7 +43,7 @@ frontend_builder.build_frontend(
43
  )
44
  app_logger.info("build_frontend ok!")
45
 
46
- app.mount(CUSTOM_STATIC_PATH, StaticFiles(directory=static_dist_folder), name="static")
47
 
48
 
49
  @app.get(CUSTOM_STATIC_PATH)
 
43
  )
44
  app_logger.info("build_frontend ok!")
45
 
46
+ app.mount(CUSTOM_STATIC_PATH, StaticFiles(directory=str(static_dist_folder)), name="static")
47
 
48
 
49
  @app.get(CUSTOM_STATIC_PATH)