Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion deps/webcc
5 changes: 3 additions & 2 deletions src/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -518,8 +518,9 @@ int main(int argc, char **argv)
{
tmpl_out << " <meta name=\"description\" content=\"" << final_app_config.description << "\">\n";
}
// Auto-include generated CSS (absolute path for nested routes)
tmpl_out << " <link rel=\"stylesheet\" href=\"/app.css\">\n";
// Auto-include generated CSS using deploy-path-safe relative URL
tmpl_out << " <link rel=\"stylesheet\" href=\"./app.css\">\n";
tmpl_out << " <link rel=\"icon\" href=\"data:,\">\n";
tmpl_out << "</head>\n";
tmpl_out << "<body>\n";
tmpl_out << "{{script}}\n";
Expand Down