Refactor asset paths to remove '/public' prefix for consistency across views
All checks were successful
Deploy Production (crewsportswear.com) / deploy (push) Successful in 1m57s
All checks were successful
Deploy Production (crewsportswear.com) / deploy (push) Successful in 1m57s
This commit is contained in:
@@ -215,7 +215,7 @@
|
||||
}
|
||||
|
||||
function fetchCanada() {
|
||||
$.getJSON("{{ asset('/public/api/canada.json') }}", function(items) {
|
||||
$.getJSON("{{ asset('/api/canada.json') }}", function(items) {
|
||||
var states = [];
|
||||
|
||||
Object.keys(items).forEach(function(state) {
|
||||
@@ -264,7 +264,7 @@
|
||||
}
|
||||
|
||||
function fetchUSA() {
|
||||
$.getJSON("{{ asset('/public/api/usaCities.json') }}", function(data) {
|
||||
$.getJSON("{{ asset('/api/usaCities.json') }}", function(data) {
|
||||
var states = [];
|
||||
|
||||
for (i = 0; i < data.length; i++) {
|
||||
|
||||
Reference in New Issue
Block a user