first commit
parent
594ebfecd5
commit
653ce6a2bc
Binary file not shown.
|
@ -38,3 +38,17 @@
|
||||||
1166 1365 1689036944720001600 crowsite a0e16662a55dd3bb
|
1166 1365 1689036944720001600 crowsite a0e16662a55dd3bb
|
||||||
4 1175 1689037003168495000 CMakeFiles/crowsite.dir/src/crowsite/site/web.cpp.o 8667e0b83a233464
|
4 1175 1689037003168495000 CMakeFiles/crowsite.dir/src/crowsite/site/web.cpp.o 8667e0b83a233464
|
||||||
1175 1364 1689037003357436900 crowsite a0e16662a55dd3bb
|
1175 1364 1689037003357436900 crowsite a0e16662a55dd3bb
|
||||||
|
4 952 1689037410972600100 CMakeFiles/crowsite.dir/src/crowsite/site/web.cpp.o 8667e0b83a233464
|
||||||
|
4 14054 1689037435256058800 CMakeFiles/crowsite.dir/src/main.cpp.o c8a15afe5f8be308
|
||||||
|
14054 14260 1689037435476899300 crowsite a0e16662a55dd3bb
|
||||||
|
4 1792 1689037936069523300 CMakeFiles/crowsite.dir/src/crowsite/site/cache.cpp.o 644bdb4e2af54a7b
|
||||||
|
4 14368 1689037948631072600 CMakeFiles/crowsite.dir/src/main.cpp.o c8a15afe5f8be308
|
||||||
|
14369 14577 1689037948855153000 crowsite a0e16662a55dd3bb
|
||||||
|
4 1681 1689038109605385700 CMakeFiles/crowsite.dir/src/crowsite/site/cache.cpp.o 644bdb4e2af54a7b
|
||||||
|
1681 1888 1689038109812238800 crowsite a0e16662a55dd3bb
|
||||||
|
14 936 1689038420238520800 CMakeFiles/crowsite.dir/src/crowsite/site/web.cpp.o 8667e0b83a233464
|
||||||
|
936 1135 1689038420436912900 crowsite a0e16662a55dd3bb
|
||||||
|
4 896 1689038452009234200 CMakeFiles/crowsite.dir/src/crowsite/site/web.cpp.o 8667e0b83a233464
|
||||||
|
897 1099 1689038452210846600 crowsite a0e16662a55dd3bb
|
||||||
|
4 14382 1689039174165723000 CMakeFiles/crowsite.dir/src/main.cpp.o c8a15afe5f8be308
|
||||||
|
14382 14592 1689039174398102500 crowsite a0e16662a55dd3bb
|
||||||
|
|
|
@ -0,0 +1,322 @@
|
||||||
|
[21:32:54] [main.cpp:64] [BLT_INFO]: Starting site CrowTest.
|
||||||
|
[21:32:54] [main.cpp:67] [BLT_INFO]: Init Crow with compression and logging enabled!
|
||||||
|
[21:32:54] [main.cpp:72] [BLT_INFO]: Creating static context
|
||||||
|
[21:32:54] [main.cpp:80] [BLT_INFO]: Starting cache engine
|
||||||
|
[21:32:54] [main.cpp:85] [BLT_INFO]: Creating routes
|
||||||
|
[21:33:01] [cache.cpp:41] [BLT_DEBUG]: Page 'default.html' was not found in cache, loading now!
|
||||||
|
[21:33:01] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 0.000000kb
|
||||||
|
[21:33:01] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 5.823546ms
|
||||||
|
[21:33:01] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:33:22] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:33:22] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 50.225586kb
|
||||||
|
[21:33:22] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.268411ms
|
||||||
|
[21:33:22] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:33:38] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:33:38] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 50.239258kb
|
||||||
|
[21:33:38] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.315437ms
|
||||||
|
[21:33:38] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:33:39] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:34:08] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:34:08] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 50.278320kb
|
||||||
|
[21:34:08] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.347218ms
|
||||||
|
[21:34:08] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:34:09] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:34:39] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:34:39] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 50.336914kb
|
||||||
|
[21:34:39] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.147450ms
|
||||||
|
[21:34:39] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:34:56] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:34:56] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 50.233398kb
|
||||||
|
[21:34:56] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.189296ms
|
||||||
|
[21:34:56] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:35:28] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:35:28] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 50.430664kb
|
||||||
|
[21:35:28] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.189914ms
|
||||||
|
[21:35:28] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:35:33] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:35:33] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 50.483398kb
|
||||||
|
[21:35:33] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.255756ms
|
||||||
|
[21:35:33] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:35:47] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:35:47] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 50.485352kb
|
||||||
|
[21:35:47] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.142173ms
|
||||||
|
[21:35:47] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:36:00] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:36:00] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 50.522461kb
|
||||||
|
[21:36:00] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.295426ms
|
||||||
|
[21:36:00] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:36:05] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:36:05] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 50.557617kb
|
||||||
|
[21:36:05] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.149797ms
|
||||||
|
[21:36:05] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:36:06] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:36:14] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:36:14] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 50.557617kb
|
||||||
|
[21:36:14] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.239441ms
|
||||||
|
[21:36:14] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:37:13] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:37:13] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 50.557617kb
|
||||||
|
[21:37:13] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.171994ms
|
||||||
|
[21:37:13] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:37:17] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:37:17] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 50.594727kb
|
||||||
|
[21:37:17] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.188765ms
|
||||||
|
[21:37:17] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:37:18] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:37:18] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:38:19] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:38:19] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 50.596680kb
|
||||||
|
[21:38:19] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.259220ms
|
||||||
|
[21:38:19] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:38:19] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:38:20] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:38:23] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:38:23] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:38:54] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:38:54] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 50.764648kb
|
||||||
|
[21:38:54] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.074114ms
|
||||||
|
[21:38:54] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:38:55] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:39:51] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:39:51] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 50.915039kb
|
||||||
|
[21:39:51] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.103569ms
|
||||||
|
[21:39:51] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:40:12] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:40:12] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 50.786133kb
|
||||||
|
[21:40:12] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.269686ms
|
||||||
|
[21:40:12] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:41:02] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:41:02] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 50.897461kb
|
||||||
|
[21:41:02] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.199558ms
|
||||||
|
[21:41:02] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:41:14] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:41:14] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 51.071289kb
|
||||||
|
[21:41:14] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.227871ms
|
||||||
|
[21:41:14] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:41:15] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:41:30] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:41:30] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 51.024414kb
|
||||||
|
[21:41:30] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.270470ms
|
||||||
|
[21:41:30] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:41:35] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:41:35] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 51.090820kb
|
||||||
|
[21:41:35] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.119355ms
|
||||||
|
[21:41:35] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:41:54] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:41:54] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 51.202148kb
|
||||||
|
[21:41:54] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.210475ms
|
||||||
|
[21:41:54] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:42:01] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:42:01] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 51.094727kb
|
||||||
|
[21:42:01] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.328106ms
|
||||||
|
[21:42:01] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:42:11] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:42:11] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 51.049805kb
|
||||||
|
[21:42:11] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.207690ms
|
||||||
|
[21:42:11] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:42:12] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:42:15] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:42:15] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 51.112305kb
|
||||||
|
[21:42:15] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.183113ms
|
||||||
|
[21:42:15] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:42:18] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:42:18] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 51.112305kb
|
||||||
|
[21:42:18] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.219932ms
|
||||||
|
[21:42:18] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:42:24] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:42:24] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 51.112305kb
|
||||||
|
[21:42:24] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.170860ms
|
||||||
|
[21:42:24] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:42:28] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:42:28] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 51.112305kb
|
||||||
|
[21:42:28] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.196668ms
|
||||||
|
[21:42:28] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:42:42] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:42:42] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 51.112305kb
|
||||||
|
[21:42:42] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.222436ms
|
||||||
|
[21:42:42] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:42:48] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:42:48] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 51.176758kb
|
||||||
|
[21:42:48] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.194162ms
|
||||||
|
[21:42:48] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:43:31] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:43:31] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 51.239258kb
|
||||||
|
[21:43:31] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.126034ms
|
||||||
|
[21:43:31] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:43:35] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:43:35] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 51.243164kb
|
||||||
|
[21:43:35] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.144408ms
|
||||||
|
[21:43:35] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:43:36] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:43:37] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:44:01] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:44:01] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 51.247070kb
|
||||||
|
[21:44:01] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.156350ms
|
||||||
|
[21:44:01] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:44:38] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:44:38] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 51.151367kb
|
||||||
|
[21:44:38] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.140409ms
|
||||||
|
[21:44:38] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:45:12] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:45:12] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 51.198242kb
|
||||||
|
[21:45:12] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.243890ms
|
||||||
|
[21:45:12] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:45:20] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:45:20] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 51.409180kb
|
||||||
|
[21:45:20] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.160926ms
|
||||||
|
[21:45:20] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:45:21] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:45:43] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:45:43] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 51.467773kb
|
||||||
|
[21:45:43] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.333093ms
|
||||||
|
[21:45:43] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:45:44] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:45:51] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:45:51] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 51.356445kb
|
||||||
|
[21:45:51] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.111726ms
|
||||||
|
[21:45:51] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:45:52] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:46:17] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:46:17] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 51.409180kb
|
||||||
|
[21:46:17] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.276699ms
|
||||||
|
[21:46:17] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:46:17] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:46:33] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:46:33] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 51.504883kb
|
||||||
|
[21:46:33] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.134978ms
|
||||||
|
[21:46:33] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:46:34] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:46:34] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:46:39] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:46:39] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 51.569336kb
|
||||||
|
[21:46:39] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.295502ms
|
||||||
|
[21:46:39] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:46:40] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:46:45] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:46:45] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 51.569336kb
|
||||||
|
[21:46:45] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.390787ms
|
||||||
|
[21:46:45] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:46:45] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:47:02] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:47:02] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 51.553711kb
|
||||||
|
[21:47:02] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.153602ms
|
||||||
|
[21:47:02] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:47:02] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:47:03] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:47:24] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:47:24] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 51.592773kb
|
||||||
|
[21:47:24] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.210826ms
|
||||||
|
[21:47:24] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:47:35] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:47:35] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 51.622070kb
|
||||||
|
[21:47:35] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.215394ms
|
||||||
|
[21:47:35] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:47:35] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:47:36] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:47:46] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:47:46] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 51.622070kb
|
||||||
|
[21:47:46] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.143443ms
|
||||||
|
[21:47:46] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:47:46] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:48:03] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:48:03] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 51.622070kb
|
||||||
|
[21:48:03] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.286023ms
|
||||||
|
[21:48:03] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:48:12] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:48:12] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 51.686523kb
|
||||||
|
[21:48:12] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.230351ms
|
||||||
|
[21:48:12] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:48:17] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:48:17] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 51.749023kb
|
||||||
|
[21:48:17] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.196079ms
|
||||||
|
[21:48:17] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:48:18] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:48:22] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:48:22] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 51.749023kb
|
||||||
|
[21:48:22] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.098861ms
|
||||||
|
[21:48:22] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:48:22] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:48:26] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:48:26] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 51.749023kb
|
||||||
|
[21:48:26] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.224640ms
|
||||||
|
[21:48:26] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:48:26] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:48:26] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:48:34] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:48:34] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 51.750977kb
|
||||||
|
[21:48:34] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.166314ms
|
||||||
|
[21:48:34] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:48:35] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:48:35] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:50:26] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:50:26] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 51.750977kb
|
||||||
|
[21:50:26] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.149662ms
|
||||||
|
[21:50:26] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:50:59] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:50:59] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 52.036133kb
|
||||||
|
[21:50:59] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.129536ms
|
||||||
|
[21:50:59] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:51:00] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:51:11] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:51:11] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 52.217773kb
|
||||||
|
[21:51:11] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.303903ms
|
||||||
|
[21:51:11] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:51:11] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:51:26] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:51:26] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 52.217773kb
|
||||||
|
[21:51:26] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.434030ms
|
||||||
|
[21:51:26] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:51:27] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:51:30] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:51:30] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 52.274414kb
|
||||||
|
[21:51:30] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.130317ms
|
||||||
|
[21:51:30] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:51:55] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:51:55] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 52.274414kb
|
||||||
|
[21:51:55] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.176602ms
|
||||||
|
[21:51:55] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:52:06] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:52:06] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 52.325195kb
|
||||||
|
[21:52:06] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.072412ms
|
||||||
|
[21:52:06] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:52:19] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:52:19] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 52.325195kb
|
||||||
|
[21:52:19] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.192981ms
|
||||||
|
[21:52:19] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:52:19] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:52:32] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:52:32] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 52.325195kb
|
||||||
|
[21:52:32] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.132882ms
|
||||||
|
[21:52:32] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:52:32] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:52:32] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:52:55] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:52:55] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 52.325195kb
|
||||||
|
[21:52:55] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.201987ms
|
||||||
|
[21:52:55] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:53:17] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:53:18] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:53:38] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:53:38] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 52.325195kb
|
||||||
|
[21:53:38] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.183935ms
|
||||||
|
[21:53:38] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:53:39] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:53:52] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:53:52] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 52.325195kb
|
||||||
|
[21:53:52] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.165220ms
|
||||||
|
[21:53:52] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:55:33] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:55:33] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 52.325195kb
|
||||||
|
[21:55:33] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.231841ms
|
||||||
|
[21:55:33] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:55:39] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:55:39] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 52.458008kb
|
||||||
|
[21:55:39] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.129916ms
|
||||||
|
[21:55:39] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:56:04] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:56:04] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 52.461914kb
|
||||||
|
[21:56:04] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.135737ms
|
||||||
|
[21:56:04] [cache.cpp:72] [BLT_INFO]: Fetched page default.html
|
||||||
|
[21:56:30] [cache.cpp:47] [BLT_DEBUG]: Page 'default.html' has been modified! Reloading now!
|
||||||
|
[21:56:30] [cache.cpp:68] [BLT_TRACE]: Page storage memory usage: 52.461914kb
|
||||||
|
[21:56:30] [cache.cpp:90] [BLT_INFO]: Loaded page default.html in 0.536674ms
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,3 +1,3 @@
|
||||||
Start testing: Jul 10 20:56 EDT
|
Start testing: Jul 21 21:38 EDT
|
||||||
----------------------------------------------------------
|
----------------------------------------------------------
|
||||||
End testing: Jul 10 20:56 EDT
|
End testing: Jul 21 21:38 EDT
|
||||||
|
|
Binary file not shown.
File diff suppressed because one or more lines are too long
|
@ -6,6 +6,7 @@
|
||||||
#define CROWSITE_CACHE_H
|
#define CROWSITE_CACHE_H
|
||||||
|
|
||||||
#include <crowsite/site/web.h>
|
#include <crowsite/site/web.h>
|
||||||
|
#include <filesystem>
|
||||||
|
|
||||||
namespace cs {
|
namespace cs {
|
||||||
|
|
||||||
|
@ -24,6 +25,7 @@ namespace cs {
|
||||||
private:
|
private:
|
||||||
struct CacheValue {
|
struct CacheValue {
|
||||||
int64_t cacheTime;
|
int64_t cacheTime;
|
||||||
|
std::filesystem::file_time_type lastModified;
|
||||||
std::unique_ptr<HTMLPage> page;
|
std::unique_ptr<HTMLPage> page;
|
||||||
std::string renderedPage;
|
std::string renderedPage;
|
||||||
};
|
};
|
||||||
|
|
|
@ -35,6 +35,20 @@ namespace cs {
|
||||||
}
|
}
|
||||||
|
|
||||||
const std::string& CacheEngine::fetch(const std::string& path) {
|
const std::string& CacheEngine::fetch(const std::string& path) {
|
||||||
|
bool load = false;
|
||||||
|
auto find = m_Pages.find(path);
|
||||||
|
if (find == m_Pages.end()){
|
||||||
|
BLT_DEBUG("Page '%s' was not found in cache, loading now!", path.c_str());
|
||||||
|
load = true;
|
||||||
|
} else {
|
||||||
|
auto lastWrite = std::filesystem::last_write_time(cs::fs::createWebFilePath(path));
|
||||||
|
if (lastWrite != m_Pages[path].lastModified) {
|
||||||
|
load = true;
|
||||||
|
BLT_DEBUG("Page '%s' has been modified! Reloading now!", path.c_str());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (load) {
|
||||||
auto memory = calculateMemoryUsage();
|
auto memory = calculateMemoryUsage();
|
||||||
|
|
||||||
if (memory > m_Settings.hardMaxMemory) {
|
if (memory > m_Settings.hardMaxMemory) {
|
||||||
|
@ -52,12 +66,9 @@ namespace cs {
|
||||||
}
|
}
|
||||||
|
|
||||||
BLT_TRACE("Page storage memory usage: %fkb", memory / 1024.0);
|
BLT_TRACE("Page storage memory usage: %fkb", memory / 1024.0);
|
||||||
|
|
||||||
auto find = m_Pages.find(path);
|
|
||||||
if (find == m_Pages.end()){
|
|
||||||
BLT_DEBUG("Page (%s) was not found in cache, loading now!", path.c_str());
|
|
||||||
loadPage(path);
|
loadPage(path);
|
||||||
}
|
}
|
||||||
|
|
||||||
BLT_INFO("Fetched page %s", path.c_str());
|
BLT_INFO("Fetched page %s", path.c_str());
|
||||||
return m_Pages[path].renderedPage;
|
return m_Pages[path].renderedPage;
|
||||||
}
|
}
|
||||||
|
@ -65,10 +76,12 @@ namespace cs {
|
||||||
void CacheEngine::loadPage(const std::string& path) {
|
void CacheEngine::loadPage(const std::string& path) {
|
||||||
auto start = blt::system::getCurrentTimeNanoseconds();
|
auto start = blt::system::getCurrentTimeNanoseconds();
|
||||||
|
|
||||||
auto page = HTMLPage::load(cs::fs::createWebFilePath(path));
|
auto fullPath = cs::fs::createWebFilePath(path);
|
||||||
|
auto page = HTMLPage::load(fullPath);
|
||||||
auto renderedPage = page->render(m_Context);
|
auto renderedPage = page->render(m_Context);
|
||||||
m_Pages[path] = CacheValue{
|
m_Pages[path] = CacheValue{
|
||||||
blt::system::getCurrentTimeNanoseconds(),
|
blt::system::getCurrentTimeNanoseconds(),
|
||||||
|
std::filesystem::last_write_time(fullPath),
|
||||||
std::move(page),
|
std::move(page),
|
||||||
renderedPage
|
renderedPage
|
||||||
};
|
};
|
||||||
|
|
|
@ -5,10 +5,10 @@
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <ios>
|
#include <ios>
|
||||||
#include <blt/std/logging.h>
|
#include <blt/std/logging.h>
|
||||||
#include <boost/algorithm/string/replace.hpp>
|
|
||||||
|
|
||||||
#include <utility>
|
#include <utility>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
#include <algorithm>
|
||||||
|
|
||||||
namespace cs {
|
namespace cs {
|
||||||
|
|
||||||
|
@ -143,10 +143,7 @@ namespace cs {
|
||||||
}
|
}
|
||||||
) == context.end()) {
|
) == context.end()) {
|
||||||
// unable to find the token, we should throw an error to tell the user! (or admin in this case)
|
// unable to find the token, we should throw an error to tell the user! (or admin in this case)
|
||||||
BLT_WARN("Unable to find token '%s'!");
|
BLT_WARN("Unable to find token '%s'!", tokenString.c_str());
|
||||||
throw LexerException(
|
|
||||||
"Unable to find token in static context!"
|
|
||||||
);
|
|
||||||
} else
|
} else
|
||||||
buffer += context[tokenString];
|
buffer += context[tokenString];
|
||||||
break;
|
break;
|
||||||
|
@ -165,12 +162,6 @@ namespace cs {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// for (auto& v : context){
|
|
||||||
// if (v.first.starts_with('$'))
|
|
||||||
// throw SyntaxException();
|
|
||||||
// //boost::replace_all(processedSiteData, "{{$" + v.first + "}}", v.second);
|
|
||||||
// }
|
|
||||||
|
|
||||||
return buffer;
|
return buffer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <crowsite/utility.h>
|
#include <crowsite/utility.h>
|
||||||
#include <crowsite/site/cache.h>
|
#include <crowsite/site/cache.h>
|
||||||
|
#include <crowsite/beemovie.h>
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
// blt::string::StringBuffer buffer;
|
// blt::string::StringBuffer buffer;
|
||||||
|
@ -74,6 +75,7 @@ int main() {
|
||||||
context["SITE_TITLE"] = SITE_TITLE;
|
context["SITE_TITLE"] = SITE_TITLE;
|
||||||
context["SITE_NAME"] = SITE_NAME;
|
context["SITE_NAME"] = SITE_NAME;
|
||||||
context["SITE_VERSION"] = SITE_VERSION;
|
context["SITE_VERSION"] = SITE_VERSION;
|
||||||
|
context["BEE_MOVIE"] = beemovie_script;
|
||||||
|
|
||||||
BLT_INFO("Starting cache engine");
|
BLT_INFO("Starting cache engine");
|
||||||
|
|
||||||
|
@ -111,8 +113,8 @@ int main() {
|
||||||
);
|
);
|
||||||
|
|
||||||
CROW_CATCHALL_ROUTE(app)(
|
CROW_CATCHALL_ROUTE(app)(
|
||||||
[]() {
|
[&engine]() {
|
||||||
return "World's Sexyest Man";
|
return engine.fetch("default.html");
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue