Skip to content

Commit 43fe48b

Browse files
authored
Merge pull request #4 from ismailmo1/main
Fix /favicon endpoint
2 parents cdb2597 + 62f520f commit 43fe48b

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Deploy a Python (Flask) web app to Azure App Service - Sample Application
22

3-
This is the sample Flask application for the Azure Quickstart [Deploy a Python (Django or Flask) web app to Azure App Service](https://docs.microsoft.com/en-us/azure/app-service/quickstart-python). For instructions on how to create the Azure resources and deploy the application to Azure, refer to the Quickstart article.
3+
This is the sample Flask application for the Azure Quickstart [Deploy a Python (Django or Flask) web app to Azure App Service](https://docs.microsoft.com/en-us/azure/app-service/quickstart-python). For instructions on how to create the Azure resources and deploy the application to Azure, refer to the Quickstart article.
44

55
A Django sample application is also available for the article at [https://github.com/Azure-Samples/msdocs-python-django-webapp-quickstart](https://github.com/Azure-Samples/msdocs-python-django-webapp-quickstart).
66

7-
If you need an Azure account, you can [create on for free](https://azure.microsoft.com/en-us/free/).
7+
If you need an Azure account, you can [create one for free](https://azure.microsoft.com/en-us/free/).

app.py

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
from datetime import datetime
2-
from flask import Flask, render_template, request, redirect, url_for, send_from_directory
1+
import os
2+
3+
from flask import (Flask, redirect, render_template, request,
4+
send_from_directory, url_for)
5+
36
app = Flask(__name__)
47

58

@@ -26,4 +29,4 @@ def hello():
2629

2730

2831
if __name__ == '__main__':
29-
app.run()
32+
app.run()

0 commit comments

Comments
 (0)