.tutorial

git-svn-id: svn://ultimatepp.org/upp/trunk@5196 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2012-07-15 17:41:06 +00:00
parent 344842f674
commit bd755a58cf
3 changed files with 6 additions and 0 deletions

View file

@ -5,6 +5,7 @@ uses
Skylark;
file
favicon.png,
main.cpp;
mainconfig

Binary file not shown.

After

Width:  |  Height:  |  Size: 445 B

View file

@ -25,6 +25,11 @@ SKYLARK(CatchAll, "**")
http.Redirect(HomePage);
}
SKYLARK(Favicon, "/favicon.ico")
{
http.ContentType("image/png") << LoadFile(GetDataFile("favicon.png"));
}
struct MyApp : SkylarkApp {
MyApp() {
root = "myapp";