diff --git a/MANIFEST.in b/MANIFEST.in index 95cc99a09..ace9a1f59 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,2 +1,2 @@ -recursive-include platypush/backend/http/dist * +recursive-include platypush/backend/http/webapp/dist * include platypush/plugins/http/webpage/mercury-parser.js diff --git a/platypush/backend/http/app/__init__.py b/platypush/backend/http/app/__init__.py index d7762f160..cb7af88a1 100644 --- a/platypush/backend/http/app/__init__.py +++ b/platypush/backend/http/app/__init__.py @@ -21,8 +21,8 @@ initialize_logger() base_folder = os.path.abspath(os.path.join( os.path.dirname(os.path.abspath(__file__)), '..')) -template_folder = os.path.join(base_folder, 'dist') -static_folder = os.path.join(base_folder, 'dist/static') +template_folder = os.path.join(base_folder, 'webapp/dist') +static_folder = os.path.join(base_folder, 'webapp/dist/static') application = Flask('platypush', template_folder=template_folder, static_folder=static_folder) diff --git a/platypush/backend/http/dist/index.html b/platypush/backend/http/dist/index.html deleted file mode 100644 index ace2971b2..000000000 --- a/platypush/backend/http/dist/index.html +++ /dev/null @@ -1 +0,0 @@ -
Generate a JWT authentication token that can be used for API calls to the /execute endpoint.
You can include the token in your requests in any of the following ways:
\n\nGenerate a JWT authentication token that can be used for API calls to the /execute endpoint.
You can include the token in your requests in any of the following ways:
\n\n