Skip to content

Commit 5d92ca0

Browse files
committed
fix
1 parent 087b157 commit 5d92ca0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cli/src/server.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ int main(const int argc, char **argv) {
5252
html_config.editable = true;
5353

5454
{
55-
constexpr std::string prefix = "file";
55+
const std::string prefix = "file";
5656
const HtmlViews views =
5757
server.serve_file(decoded_file, prefix, html_config);
5858
ODR_INFO(*logger, "hosted decoded file with id: " << prefix);
@@ -70,7 +70,7 @@ int main(const int argc, char **argv) {
7070
filesystem = decoded_file.as_archive_file().archive().as_filesystem();
7171
}
7272

73-
constexpr std::string prefix = "filesystem";
73+
const std::string prefix = "filesystem";
7474
const HtmlService filesystem_service = html::translate(
7575
filesystem.value(), server_config.cache_path + "/" + prefix,
7676
html_config, logger);

0 commit comments

Comments
 (0)