diff options
Diffstat (limited to 'views/partials/footer.ejs')
| -rw-r--r-- | views/partials/footer.ejs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/views/partials/footer.ejs b/views/partials/footer.ejs index 163e28b..d5d82d0 100644 --- a/views/partials/footer.ejs +++ b/views/partials/footer.ejs @@ -1,5 +1,9 @@ </content> <% include ../partials/404 %> </body> -<% include ../partials/scripts %> +<% if (env == 'production') { %> + <script src="/assets/min/app.min.js"></script> +<% } else { %> + <% include ../partials/scripts %> +<% } %> </html>
\ No newline at end of file |
