mirror of
https://onedev.site.tesses.net/crosslang/crosslangextras
synced 2026-02-08 17:15:45 +00:00
Get further on reference
This commit is contained in:
@@ -22,7 +22,7 @@ func Pages.Echo(text)
|
||||
pages,
|
||||
<if(text != null)>
|
||||
<true>
|
||||
<p>{text}</p>
|
||||
<plink(text)>
|
||||
</true>
|
||||
<false>
|
||||
<p>No text available</p>
|
||||
|
||||
@@ -14,7 +14,7 @@ func main(args)
|
||||
}
|
||||
else if(ctx.Path == "/about")
|
||||
{
|
||||
ctx.WithMimeType("text/html").SendText(Pages.Index());
|
||||
ctx.WithMimeType("text/html").SendText(Pages.About());
|
||||
return true;
|
||||
}
|
||||
else if(ctx.Path == "/echo")
|
||||
|
||||
Reference in New Issue
Block a user