diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2015-07-31 13:43:19 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2015-07-31 13:43:19 +0200 |
commit | 54a304276fb361f95332c5c1f8c6f67026b1d96c (patch) | |
tree | 99ecbf787f2cff1593a77890b690a1f632e79733 /src/master.hpp | |
parent | a07e48f45e3b922a63aaae58b5bd816b8e324ee1 (diff) | |
download | aCms-54a304276fb361f95332c5c1f8c6f67026b1d96c.tar.gz aCms-54a304276fb361f95332c5c1f8c6f67026b1d96c.tar.bz2 |
made it possible to run standalone without proxying webserver:
- deliver static pages
- some default redirects pointing to the main landing page
Diffstat (limited to 'src/master.hpp')
-rw-r--r-- | src/master.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/master.hpp b/src/master.hpp index 520f258..d195601 100644 --- a/src/master.hpp +++ b/src/master.hpp @@ -17,6 +17,8 @@ class master : public cppcms::application { master( strusCms &cms ); void ini( content::master &c ); void register_common_pages( ); + void serve_file( std::string file_name ); + void redirect_to_master( ); void not_found_404( ); }; |