Skip to content

Commit 61b06b3

Browse files
fix(py/image-content-searc): correct landing page handler (#1198)
Signed-off-by: Emmanuel Ferdman <[email protected]>
1 parent bb07b66 commit 61b06b3

File tree

1 file changed

+3
-1
lines changed
  • python/image-content-search/src/landingPage

1 file changed

+3
-1
lines changed

python/image-content-search/src/landingPage/main.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ def handler(event, context):
1212
'Content-Type': 'text/html'
1313
},
1414
'body': file_get_contents("index.html").format(loginPage=login_page)
15+
}
16+
1517
def file_get_contents(filename):
1618
with open(filename) as f:
17-
return f.read()
19+
return f.read()

0 commit comments

Comments
 (0)