Skip to content

Commit

Permalink
Change: Update directory name for assets url handler
Browse files Browse the repository at this point in the history
After switching to Vite as a build tool for GSA, all assets are
placed by default in assets directory without creating subfolders
for each type.
  • Loading branch information
a-h-abdelsalam authored and bjoernricks committed Apr 25, 2024
1 parent 986c5d7 commit 39bdd1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gsad_http_handler.c
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,7 @@ make_url_handlers ()
url_handler_add_func (url_handlers, "^/robots\\.txt$", handle_static_file);

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

Expand Down

0 comments on commit 39bdd1e

Please sign in to comment.