Skip to content

Commit 2a56caa

Browse files
committed
Update base URL for examples gallery in initialization
1 parent 3073061 commit 2a56caa

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

sdk/python/packages/flet/docs/apps/examples-gallery/src/main.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,4 +221,7 @@ def handle_route_change(e=None):
221221

222222

223223
if __name__ == "__main__":
224-
ft.run(main)
224+
ft.run(
225+
main,
226+
# route_url_strategy=ft.RouteUrlStrategy.HASH,
227+
)

sdk/python/packages/flet/docs/extras/macros/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def iframe(
133133
src=None,
134134
*,
135135
route=None,
136-
base="/apps/dist/index.html#/",
136+
base="/apps/examples-gallery/dist/index.html#/",
137137
# base="http://127.0.0.1:3000/",
138138
width="100%",
139139
height="480",

0 commit comments

Comments
 (0)