aboutsummaryrefslogtreecommitdiffstats
path: root/public/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'public/index.php')
-rw-r--r--public/index.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/public/index.php b/public/index.php
index e2561ef..debd008 100644
--- a/public/index.php
+++ b/public/index.php
@@ -32,10 +32,10 @@ $dap_current_env = dap_get_current_env();
<meta name="msapplication-config" content="/assets/images/favicon/browserconfig.xml">
<meta name="theme-color" content="#194476">
<?php
- if ($dap_current_env === 'production') {
- echo '<link rel="stylesheet" href="assets/css/style.css" />';
- } else {
+ if ($dap_current_env === 'development') {
echo '<script src="assets/js/style.js"></script>';
+ } else {
+ echo '<link rel="stylesheet" href="assets/css/style.css" />';
}
?>
</head>