Skip to content

Commit 55cc6ef

Browse files
authored
Fix web deploy GH pages (#1406)
1 parent b2cbbc8 commit 55cc6ef

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

dart/example_web/web/index.html

+15
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,21 @@
22

33
<html>
44
<head>
5+
<!--
6+
If you are serving your web app in a path other than the root, change the
7+
href value below to reflect the base path you are serving from.
8+
9+
The path provided below has to start and end with a slash "/" in order for
10+
it to work correctly.
11+
12+
For more details:
13+
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base
14+
15+
This is a placeholder for base href that will be replaced by the value of
16+
the `--base-href` argument provided to `flutter build`.
17+
-->
18+
<base href="$FLUTTER_BASE_HREF">
19+
520
<meta charset="utf-8">
621
<meta http-equiv="X-UA-Compatible" content="IE=edge">
722
<meta name="viewport" content="width=device-width, initial-scale=1.0">

flutter/example/web/index.html

+15
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,21 @@
22
<html>
33

44
<head>
5+
<!--
6+
If you are serving your web app in a path other than the root, change the
7+
href value below to reflect the base path you are serving from.
8+
9+
The path provided below has to start and end with a slash "/" in order for
10+
it to work correctly.
11+
12+
For more details:
13+
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base
14+
15+
This is a placeholder for base href that will be replaced by the value of
16+
the `--base-href` argument provided to `flutter build`.
17+
-->
18+
<base href="$FLUTTER_BASE_HREF">
19+
520
<meta charset="UTF-8">
621
<meta content="IE=Edge" http-equiv="X-UA-Compatible">
722
<meta name="description" content="Demonstrates how to use the sentry_flutter plugin.">

0 commit comments

Comments
 (0)