mirror of
https://onedev.site.tesses.net/crosslang/crosslangextras
synced 2026-02-08 17:15:45 +00:00
Change to onedev
This commit is contained in:
@@ -1,10 +1,8 @@
|
||||
{
|
||||
"name": "Tesses.CrossLang.PackageServer",
|
||||
"version": "1.0.0.0-prod",
|
||||
"project_dependencies": [
|
||||
"./Tesses.CrossLang.Markup"
|
||||
],
|
||||
"project_dependencies": ["../Tesses.CrossLang.Markup"],
|
||||
"info": {
|
||||
"type": "console"
|
||||
}
|
||||
}
|
||||
},
|
||||
"version": "1.0.0.0-prod",
|
||||
"name": "Tesses.CrossLang.PackageServer"
|
||||
}
|
||||
|
||||
@@ -1,3 +1,28 @@
|
||||
<?page() route="/" ?>
|
||||
<h1>Welcome to the package server</h1>
|
||||
<?end?>
|
||||
<?code
|
||||
var pages = [
|
||||
{
|
||||
active = true,
|
||||
route = "/",
|
||||
text = "Home"
|
||||
},
|
||||
{
|
||||
active = false,
|
||||
route = "/counter",
|
||||
text = "Counter"
|
||||
},
|
||||
{
|
||||
active = false,
|
||||
route = "/about",
|
||||
text = "About"
|
||||
}
|
||||
];
|
||||
?>
|
||||
<?Shell?>
|
||||
<?arg "Main Page" ?>
|
||||
<?arg pages ?>
|
||||
<?arg_component() ?>
|
||||
<p>1 John 4:4: You, dear children, are from God and have overcome them, because the one who is in you is greater than the one who is in the world.</p>
|
||||
<?end?>
|
||||
<?end?>
|
||||
<?end?>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
var count = 0;
|
||||
func main(args)
|
||||
{
|
||||
Net.Http.ListenSimpleWithLoop(Router,4200);
|
||||
Net.Http.ListenSimpleWithLoop(Router,4206);
|
||||
}
|
||||
Reference in New Issue
Block a user