mirror of
https://github.com/KevinMidboe/planetposen.git
synced 2025-10-29 09:40:31 +00:00
Singular name for route.
This commit is contained in:
@@ -66,7 +66,7 @@ export default {
|
|||||||
|
|
||||||
const productSlug = this.$route.params.slug
|
const productSlug = this.$route.params.slug
|
||||||
|
|
||||||
let url = `/api/products/${ productSlug }`;
|
let url = `/api/product/${ productSlug }`;
|
||||||
if (window.location.href.includes('localhost'))
|
if (window.location.href.includes('localhost'))
|
||||||
url = 'http://localhost:30010'.concat(url)
|
url = 'http://localhost:30010'.concat(url)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user