2022-08-23 22:33:18 +02:00
|
|
|
[gd_scene load_steps=4 format=2]
|
2022-08-23 11:49:38 +02:00
|
|
|
|
2022-08-23 15:24:20 +02:00
|
|
|
[ext_resource path="res://Main.gd" type="Script" id=1]
|
2022-08-23 16:21:12 +02:00
|
|
|
[ext_resource path="res://addons/web_blog/classes/WebBlog.gd" type="Script" id=2]
|
2022-08-23 22:06:10 +02:00
|
|
|
[ext_resource path="res://addons/web_blog/classes/WebBlogPost.gd" type="Script" id=3]
|
|
|
|
|
2022-08-23 15:24:20 +02:00
|
|
|
[node name="WebServer" type="WebServerSimple"]
|
|
|
|
script = ExtResource( 1 )
|
|
|
|
|
|
|
|
[node name="WebRoot" type="WebRoot" parent="."]
|
|
|
|
|
|
|
|
[node name="index" type="StaticWebPage" parent="WebRoot"]
|
|
|
|
uri_segment = "/"
|
2022-08-23 19:37:21 +02:00
|
|
|
data = "<a href=\"/blog\">Blog</a>"
|
2022-08-23 16:21:12 +02:00
|
|
|
|
|
|
|
[node name="WebBlog" type="WebNode" parent="WebRoot"]
|
2022-08-23 19:37:21 +02:00
|
|
|
uri_segment = "blog"
|
2022-08-23 16:21:12 +02:00
|
|
|
script = ExtResource( 2 )
|
2022-08-23 22:33:18 +02:00
|
|
|
|
|
|
|
[node name="asdasd" type="WebNode" parent="WebRoot/WebBlog"]
|
|
|
|
script = ExtResource( 3 )
|
|
|
|
|
|
|
|
[node name="Aqqdss" type="WebNode" parent="WebRoot/WebBlog"]
|
|
|
|
script = ExtResource( 3 )
|