Skip to content

Commit

Permalink
Support "old" static files directory
Browse files Browse the repository at this point in the history
Allow to use the gsad with old GSA versions and the in development one.
  • Loading branch information
bjoernricks authored Apr 25, 2024
1 parent e408ecf commit 6e2c00b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gsad_http_handler.c
Original file line number Diff line number Diff line change
Expand Up @@ -770,6 +770,8 @@ make_url_handlers ()

url_handler_add_func (url_handlers, "^/config\\.*js$", handle_static_config);
url_handler_add_func (url_handlers, "^/assets/.+$", handle_static_file);
url_handler_add_func (url_handlers, "^/static/(img|js|css|media)/.+$",
handle_static_file);
url_handler_add_func (url_handlers, "^/manual/.+$", handle_static_file);

// Create /gmp handler.
Expand Down

0 comments on commit 6e2c00b

Please sign in to comment.