We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b6868f commit 5d11f07Copy full SHA for 5d11f07
bin/deploy_flutter_demos.dart
@@ -54,7 +54,7 @@ Future<void> fetchUpstream() async {
54
void prepareIndexHtmlForRemoteHost() {
55
print('Prepare "index.html" for remote host.');
56
57
- final indexHtmlFile = File(projectDir.uri.toFilePath() + r'\index.html');
+ final indexHtmlFile = File(webBuildDir.path + r'\index.html');
58
final indexContent = indexHtmlFile.readAsStringSync();
59
final fixedIndexContent = indexContent.replaceFirst(
60
r'<base href="/">',
0 commit comments