From 65f2d1061dece2dca574aa2c38e3698981ca3eea Mon Sep 17 00:00:00 2001 From: Lorenzo Pichilli Date: Mon, 11 Nov 2019 10:01:47 +0100 Subject: [PATCH] Update in_app_localhost_server.dart --- lib/src/in_app_localhost_server.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/in_app_localhost_server.dart b/lib/src/in_app_localhost_server.dart index cfb534bf..6770ee12 100644 --- a/lib/src/in_app_localhost_server.dart +++ b/lib/src/in_app_localhost_server.dart @@ -45,7 +45,7 @@ class InAppLocalhostServer { var body = List(); var path = request.requestedUri.path; path = (path.startsWith('/')) ? path.substring(1) : path; - path += (path.endsWith('/')) ? 't-rex.html' : ''; + path += (path.endsWith('/')) ? 'index.html' : ''; try { body = (await rootBundle.load(path)) @@ -85,4 +85,4 @@ class InAppLocalhostServer { } } -} \ No newline at end of file +}