mirror of
https://github.com/YunoHost-Apps/ffsync_ynh.git
synced 2024-09-03 18:26:38 +02:00
Dependency shrinking to remove development artifacts
This commit is contained in:
parent
abdc5371db
commit
3f036e759e
1 changed files with 1 additions and 4 deletions
|
@ -6,11 +6,8 @@ import os
|
||||||
import logging
|
import logging
|
||||||
from urlparse import urlparse, urlunparse
|
from urlparse import urlparse, urlunparse
|
||||||
|
|
||||||
import mimetypes
|
|
||||||
|
|
||||||
from pyramid.response import Response
|
from pyramid.response import Response
|
||||||
from pyramid.events import NewRequest, subscriber
|
from pyramid.events import NewRequest, subscriber
|
||||||
from pyramid.view import view_config, render_view_to_response
|
|
||||||
from pyramid.static import static_view
|
from pyramid.static import static_view
|
||||||
|
|
||||||
import mozsvc.config
|
import mozsvc.config
|
||||||
|
@ -92,7 +89,7 @@ def includeme(config):
|
||||||
config.include("syncstorage", route_prefix="/storage")
|
config.include("syncstorage", route_prefix="/storage")
|
||||||
config.include("tokenserver", route_prefix="/token")
|
config.include("tokenserver", route_prefix="/token")
|
||||||
|
|
||||||
# Add a top-level "it works!" view.
|
# Add a top-level explaination view.
|
||||||
www = static_view(
|
www = static_view(
|
||||||
os.path.realpath(os.path.dirname(__file__)+"/"),
|
os.path.realpath(os.path.dirname(__file__)+"/"),
|
||||||
use_subpath=True
|
use_subpath=True
|
||||||
|
|
Loading…
Add table
Reference in a new issue