tuned header of recipe lists for smartphones
This commit is contained in:
parent
5c3c74b32e
commit
686eddbaee
24 changed files with 2563 additions and 29 deletions
|
|
@ -1,13 +1,16 @@
|
|||
import type { Recipe } from "../types/recipe"
|
||||
import { API_BASE_URL } from "../config/api"
|
||||
|
||||
|
||||
/**
|
||||
* Util for handling the recipe api
|
||||
*/
|
||||
// reate base url from .env file
|
||||
const BASE_URL = import.meta.env.VITE_API_BASE;
|
||||
|
||||
/**
|
||||
* URL for handling recipes
|
||||
*/
|
||||
const RECIPE_URL = `${API_BASE_URL}/recipe`
|
||||
const RECIPE_URL = `${BASE_URL}/recipe`
|
||||
|
||||
/**
|
||||
* Load a single recipe
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue