[gd_scene load_steps=4 format=2] [ext_resource path="res://IndexScripted.gd" type="Script" id=1] [ext_resource path="res://WebServerSimple.gd" type="Script" id=2] [ext_resource path="res://WebRoot.gd" type="Script" id=3] [node name="Main" type="Node"] [node name="WebServerSimple" type="WebServerSimple" parent="."] script = ExtResource( 2 ) [node name="WebRoot" type="WebRoot" parent="WebServerSimple"] www_root_path = "res://www/" script = ExtResource( 3 ) menu_text = "Menu: <br> <a href=\"/\">Index page</a><br> <a href=\"/scripted\">Scripted Page</a><br> <a href=\"/serve_folders\">Serve folders</a><br> <a href=\"/test_md\">Serve and process files as pages</a><br> <a href=\"/md_files_folder\">Serve And process files in a folder as pages</a><br> <br>" [node name="Index" type="StaticWebPage" parent="WebServerSimple/WebRoot"] uri_segment = "/" data = "Index page <br> <img src=\"/wwwroot_icon.png\">" [node name="IndexScripted" type="StaticWebPage" parent="WebServerSimple/WebRoot"] uri_segment = "scripted" data = "Index page" script = ExtResource( 1 ) [node name="BrowsableFolderServeWebPage" type="BrowsableFolderServeWebPage" parent="WebServerSimple/WebRoot"] uri_segment = "serve_folders" serve_folder = "res://." __meta__ = { "_editor_description_": "TODO fix res://." } [node name="StaticWebPageFile" type="StaticWebPageFile" parent="WebServerSimple/WebRoot"] uri_segment = "test_md" file_path = "res://test.md" [node name="StaticWebPageFolderFiles" type="StaticWebPageFolderFiles" parent="WebServerSimple/WebRoot"] uri_segment = "md_files_folder" dir_path = "res://md_files/"