Fixed assets sometimes not loading due to non-absolute path in configuration.

migrationdev
YandolsZX 7 years ago
parent ea375e3ff6
commit c0aea99dff
  1. 6
      public/.htaccess
  2. 16
      public/403.php
  3. 16
      public/404.php

@ -23,3 +23,9 @@ RewriteRule .* http://www.urbandictionary.com/define.php?term=fuck+you [R=301,L]
#Preventing Public Access to assets folder #Preventing Public Access to assets folder
#RedirectMatch 403 ^/assets/?$ #RedirectMatch 403 ^/assets/?$
#Allow linking asset elemets across subdomains
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "*"
</IfModule>

@ -25,8 +25,8 @@
<meta name="msapplication-TileImage" content="https://zxicar.us/mstile-144x144.png" /> <meta name="msapplication-TileImage" content="https://zxicar.us/mstile-144x144.png" />
<meta property="og:description" content="Access Denied - Are you sure you're in the right place?" /> <meta property="og:description" content="Access Denied - Are you sure you're in the right place?" />
<link rel="stylesheet" href="assets/css/main.css" /> <link rel="stylesheet" href="https://i.zxicar.us/assets/css/main.css" />
<noscript><link rel="stylesheet" href="assets/css/noscript.css" /></noscript> <noscript><link rel="stylesheet" href="https://i.zxicar.us/assets/css/noscript.css" /></noscript>
</head> </head>
<body class="is-loading"> <body class="is-loading">
@ -54,12 +54,12 @@
</div> </div>
<!-- Scripts --> <!-- Scripts -->
<script src="assets/js/jquery.min.js"></script> <script src="https://i.zxicar.us/assets/js/jquery.min.js"></script>
<script src="assets/js/jquery.scrollex.min.js"></script> <script src="https://i.zxicar.us/assets/js/jquery.scrollex.min.js"></script>
<script src="assets/js/jquery.scrolly.min.js"></script> <script src="https://i.zxicar.us/assets/js/jquery.scrolly.min.js"></script>
<script src="assets/js/skel.min.js"></script> <script src="https://i.zxicar.us/assets/js/skel.min.js"></script>
<script src="assets/js/util.js"></script> <script src="https://i.zxicar.us/assets/js/util.js"></script>
<script src="assets/js/main.js"></script> <script src="https://i.zxicar.us/assets/js/main.js"></script>
</body> </body>
</html> </html>

@ -25,8 +25,8 @@
<meta name="msapplication-TileImage" content="https://zxicar.us/mstile-144x144.png" /> <meta name="msapplication-TileImage" content="https://zxicar.us/mstile-144x144.png" />
<meta property="og:description" content="We can't seem to find the image you're looking for. Are you sure you typed the URL correctly?" /> <meta property="og:description" content="We can't seem to find the image you're looking for. Are you sure you typed the URL correctly?" />
<link rel="stylesheet" href="assets/css/main.css" /> <link rel="stylesheet" href="https://i.zxicar.us/assets/css/main.css" />
<noscript><link rel="stylesheet" href="assets/css/noscript.css" /></noscript> <noscript><link rel="stylesheet" href="https://i.zxicar.us/assets/css/noscript.css" /></noscript>
</head> </head>
<body class="is-loading"> <body class="is-loading">
@ -54,12 +54,12 @@
</div> </div>
<!-- Scripts --> <!-- Scripts -->
<script src="assets/js/jquery.min.js"></script> <script src="https://i.zxicar.us/assets/js/jquery.min.js"></script>
<script src="assets/js/jquery.scrollex.min.js"></script> <script src="https://i.zxicar.us/assets/js/jquery.scrollex.min.js"></script>
<script src="assets/js/jquery.scrolly.min.js"></script> <script src="https://i.zxicar.us/assets/js/jquery.scrolly.min.js"></script>
<script src="assets/js/skel.min.js"></script> <script src="https://i.zxicar.us/assets/js/skel.min.js"></script>
<script src="assets/js/util.js"></script> <script src="https://i.zxicar.us/assets/js/util.js"></script>
<script src="assets/js/main.js"></script> <script src="https://i.zxicar.us/assets/js/main.js"></script>
</body> </body>
</html> </html>
Loading…
Cancel
Save