diff --git a/frontend/src/components/daily_recipe_detail.vue b/frontend/src/components/daily_recipe_detail.vue index 7e60e26..249bdc5 100644 --- a/frontend/src/components/daily_recipe_detail.vue +++ b/frontend/src/components/daily_recipe_detail.vue @@ -83,11 +83,13 @@ export default { methods: { reGenerateRecipe() { axios - .post('//localhost:8000/recipe/daily-recipe/' + this.$route.params.id) + .post( + config.publicPath + '/recipe/daily-recipe/' + this.$route.params.id + ) .then((response) => { response; return axios.get( - '//localhost:8000/recipe/daily-recipe/' + this.$route.params.id + config.publicPath + '/recipe/daily-recipe/' + this.$route.params.id ); }) .then((response) => {