Skip to content

Commit 5d11f07

Browse files
committed
Fix local-remote host to web demos logo.
1 parent 4b6868f commit 5d11f07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/deploy_flutter_demos.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Future<void> fetchUpstream() async {
5454
void prepareIndexHtmlForRemoteHost() {
5555
print('Prepare "index.html" for remote host.');
5656

57-
final indexHtmlFile = File(projectDir.uri.toFilePath() + r'\index.html');
57+
final indexHtmlFile = File(webBuildDir.path + r'\index.html');
5858
final indexContent = indexHtmlFile.readAsStringSync();
5959
final fixedIndexContent = indexContent.replaceFirst(
6060
r'<base href="/">',

0 commit comments

Comments
 (0)