projects
/
WebThing.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
e0f65d67afb5ed7a8cbc8c3ca41202c5dcc006b5
[WebThing.git]
/
plugins
/
DefaultPage.cs
1
using System;
2
using bytex64.WebThing;
3
4
public class DefaultPage : WebThingPlugin {
5
public override void Init(WebThing wt) {
6
if (wt.Arguments.Length > 0) {
7
wt.OpenUri(wt.Arguments[0]);
8
} else {
9
wt.OpenUri("http://dominionofawesome.com/");
10
}
11
}
12
}