Update image URLs to use MinIO for asset storage
All checks were successful
Deploy Production (admin.crewsportswear.app) / deploy (push) Successful in 1m58s
All checks were successful
Deploy Production (admin.crewsportswear.app) / deploy (push) Successful in 1m58s
This commit is contained in:
@@ -99,7 +99,7 @@
|
||||
var size = "{{ $order_item_array[0]->JerseySize }}";
|
||||
|
||||
// console.log();
|
||||
var svgLocation = "{{ config('site_config.images_directory') }}" + "uniform-templates/" + template_code + "/JERSEY/SIZES/" + size + ".svg";
|
||||
var svgLocation = "{{ minio_url('uploads/images/') }}" + "uniform-templates/" + template_code + "/JERSEY/SIZES/" + size + ".svg";
|
||||
|
||||
$.ajax({ //create an ajax request to load_page.php
|
||||
type: "GET",
|
||||
|
||||
@@ -103,7 +103,7 @@
|
||||
var size = "{{ $order_item_array[0]->JerseySize }}";
|
||||
|
||||
// console.log();
|
||||
var svgLocation = "{{ config('site_config.images_directory') }}" + "uniform-templates/" + template_code + "/SHORTS/SIZES/" + size + ".svg";
|
||||
var svgLocation = "{{ minio_url('uploads/images/') }}" + "uniform-templates/" + template_code + "/SHORTS/SIZES/" + size + ".svg";
|
||||
|
||||
$.ajax({ //create an ajax request to load_page.php
|
||||
type: "GET",
|
||||
|
||||
Reference in New Issue
Block a user