mirror of
https://onedev.site.tesses.net/crosslang/crosslang-tutorials
synced 2026-09-30 15:44:12 +00:00
Add embeddir
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
|
||||
func WebAppMain(args)
|
||||
{
|
||||
return new FileServer(embeddir("wwwroot"),false,false);
|
||||
}
|
||||
func main(args)
|
||||
{
|
||||
throw "Error";
|
||||
Console.WriteLine("use crosslang webapp-test to test");
|
||||
}
|
||||
Reference in New Issue
Block a user