From 39bdd1e9172aa36f072f05f13946aefb77cd106d Mon Sep 17 00:00:00 2001 From: Ahmed Abdelsalam Date: Wed, 24 Apr 2024 16:22:37 +0200 Subject: [PATCH] Change: Update directory name for assets url handler 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. --- src/gsad_http_handler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gsad_http_handler.c b/src/gsad_http_handler.c index 4e35e6629..bab0debf1 100644 --- a/src/gsad_http_handler.c +++ b/src/gsad_http_handler.c @@ -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);