Skip to content

Commit

Permalink
Merge 299bc97 into ceace1d
Browse files Browse the repository at this point in the history
  • Loading branch information
iambibhas committed Nov 13, 2019
2 parents ceace1d + 299bc97 commit 570343a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions baseframe/__init__.py
Expand Up @@ -248,6 +248,13 @@ def init_app(
app.assets.register('css_all', css_all)
app.register_blueprint(self, static_subdomain=subdomain)

for module_name in app.config.get('PRIVATE_ASSETS', []):
try:
module = __import__(module_name)
app.register_blueprint(module.blueprint)
except ImportError:
continue

# Optional config for a client app to use a manifest file
# to load fingerprinted assets
# If used with webpack, the client app is expected to specify its own webpack.config.js
Expand Down

0 comments on commit 570343a

Please sign in to comment.