Update custom-fields.js

fixed url for product lookup - still need to dynamically pull this from the current instance...
This commit is contained in:
Joel Varty
2021-10-14 12:48:20 -04:00
committed by GitHub
parent 6140c50196
commit a9cf5d8c03

View File

@@ -307,7 +307,7 @@ var ChooseProductCustomField = function () {
},
ajax: { // instead of writing the function to execute the request we use Select2's convenient helper
url: "https://my-bigcommerce-store-oct-14.vercel.app/api/search-products",
url: "https://nextjs-commerce-agility-cms.vercel.app/api/search-products",
//url: "http://localhost:3000/api/search-products",
dataType: 'json',
type: "get",