From d1162d1bd12cbb3eae9889768adbbb293852c066 Mon Sep 17 00:00:00 2001 From: Mark Powers Date: Fri, 1 Feb 2019 13:02:50 -0500 Subject: Remove /photo/ to uploads folder --- src/html/admin.html | 36 ++++++++++++++++++++++++++++++++++++ src/html/bread.html | 2 +- src/html/index.html | 2 +- 3 files changed, 38 insertions(+), 2 deletions(-) create mode 100644 src/html/admin.html (limited to 'src/html') diff --git a/src/html/admin.html b/src/html/admin.html new file mode 100644 index 0000000..7c87ba6 --- /dev/null +++ b/src/html/admin.html @@ -0,0 +1,36 @@ + + + + + Mark's Kitchen - Admin + + + + + + + +
+

Create Post

+
+
+
+ +
+
+ Images: +
+
+ +
+ +
+
+
+ + + \ No newline at end of file diff --git a/src/html/bread.html b/src/html/bread.html index 8004803..e6eeb47 100644 --- a/src/html/bread.html +++ b/src/html/bread.html @@ -17,7 +17,7 @@ posts: [] }, created() { - fetch(new Request('/bread/posts.json')).then(response => response.json()) + fetch(new Request('/posts/bread')).then(response => response.json()) .then(response => this.posts = response.data); } }); diff --git a/src/html/index.html b/src/html/index.html index 7a1d5d5..c7e398b 100644 --- a/src/html/index.html +++ b/src/html/index.html @@ -18,7 +18,7 @@ posts: [] }, created() { - fetch(new Request('/index/posts.json')).then(response => response.json()) + fetch(new Request('/posts/index')).then(response => response.json()) .then(response => this.posts = response.data); } }); -- cgit v1.2.3