Browse Source

FileUpload erstellt

master
Laura Faust 3 years ago
parent
commit
92be7482cf
  1. 155
      access.log
  2. 9
      app.js
  3. 18
      controllers/blogController.js
  4. 28
      public/models/blog.json
  5. 4
      routes/blog.js
  6. BIN
      uploads/DSC_0188.jpg
  7. BIN
      uploads/farbsplash-56da4e18.jpeg
  8. 14
      views/blogPost.ejs

155
access.log

@ -61,3 +61,158 @@
::1 - - [16/May/2022:14:57:24 +0000] "GET /blog/2 HTTP/1.1" 200 58 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [16/May/2022:14:57:27 +0000] "GET /blog/1 HTTP/1.1" 200 68 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [16/May/2022:14:57:29 +0000] "GET /blog/5 HTTP/1.1" 200 - "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:04:32 +0000] "GET / HTTP/1.1" 304 - "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:04:33 +0000] "GET /javascripts/bootstrap.bundle.min.js HTTP/1.1" 304 - "http://localhost/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:04:33 +0000] "GET /stylesheets/bootstrap.min.css HTTP/1.1" 304 - "http://localhost/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:04:33 +0000] "GET /stylesheets/style.css HTTP/1.1" 304 - "http://localhost/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:04:33 +0000] "GET /images/merlin_thor.jpg HTTP/1.1" 304 - "http://localhost/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:04:33 +0000] "GET /images/logo.PNG HTTP/1.1" 304 - "http://localhost/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:04:33 +0000] "GET /images/merlin.jpg HTTP/1.1" 304 - "http://localhost/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:04:33 +0000] "GET /favicon.ico HTTP/1.1" 404 983 "http://localhost/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:04:36 +0000] "GET /images/merlin_thor.jpg HTTP/1.1" 200 285158 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:04:39 +0000] "GET /bloginhalt HTTP/1.1" 304 - "http://localhost/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:04:39 +0000] "GET /stylesheets/bootstrap.min.css HTTP/1.1" 304 - "http://localhost/bloginhalt" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:04:39 +0000] "GET /javascripts/bootstrap.bundle.min.js HTTP/1.1" 304 - "http://localhost/bloginhalt" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:04:39 +0000] "GET /stylesheets/style.css HTTP/1.1" 304 - "http://localhost/bloginhalt" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:04:39 +0000] "GET /images/logo.PNG HTTP/1.1" 304 - "http://localhost/bloginhalt" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:04:43 +0000] "GET /blog/newPost HTTP/1.1" 304 - "http://localhost/bloginhalt" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:04:43 +0000] "GET /stylesheets/bootstrap.min.css HTTP/1.1" 304 - "http://localhost/blog/newPost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:04:43 +0000] "GET /javascripts/bootstrap.bundle.min.js HTTP/1.1" 304 - "http://localhost/blog/newPost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:04:43 +0000] "GET /stylesheets/style.css HTTP/1.1" 304 - "http://localhost/blog/newPost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:04:43 +0000] "GET /images/logo.PNG HTTP/1.1" 304 - "http://localhost/blog/newPost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:04:54 +0000] "POST /blog HTTP/1.1" 200 4090 "http://localhost/blog/newPost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:04:54 +0000] "GET /stylesheets/bootstrap.min.css HTTP/1.1" 304 - "http://localhost/blog" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:04:54 +0000] "GET /javascripts/bootstrap.bundle.min.js HTTP/1.1" 304 - "http://localhost/blog" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:04:54 +0000] "GET /stylesheets/style.css HTTP/1.1" 304 - "http://localhost/blog" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:04:54 +0000] "GET /images/logo.PNG HTTP/1.1" 304 - "http://localhost/blog" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:04:56 +0000] "GET /blog HTTP/1.1" 200 373 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:05:01 +0000] "GET /blog/3 HTTP/1.1" 200 70 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:17:01 +0000] "GET /blog/newpost HTTP/1.1" 200 4120 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:17:01 +0000] "GET /stylesheets/bootstrap.min.css HTTP/1.1" 304 - "http://localhost/blog/newpost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:17:01 +0000] "GET /javascripts/bootstrap.bundle.min.js HTTP/1.1" 304 - "http://localhost/blog/newpost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:17:01 +0000] "GET /stylesheets/style.css HTTP/1.1" 304 - "http://localhost/blog/newpost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:17:01 +0000] "GET /images/logo.PNG HTTP/1.1" 304 - "http://localhost/blog/newpost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:17:01 +0000] "GET /blog/newpost HTTP/1.1" 304 - "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:17:01 +0000] "GET /stylesheets/bootstrap.min.css HTTP/1.1" 304 - "http://localhost/blog/newpost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:17:01 +0000] "GET /javascripts/bootstrap.bundle.min.js HTTP/1.1" 304 - "http://localhost/blog/newpost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:17:01 +0000] "GET /stylesheets/style.css HTTP/1.1" 304 - "http://localhost/blog/newpost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:17:02 +0000] "GET /images/logo.PNG HTTP/1.1" 304 - "http://localhost/blog/newpost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:17:02 +0000] "GET /favicon.ico HTTP/1.1" 404 983 "http://localhost/blog/newpost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:17:43 +0000] "GET /blog/newpost HTTP/1.1" 200 4120 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:17:43 +0000] "GET /stylesheets/bootstrap.min.css HTTP/1.1" 304 - "http://localhost/blog/newpost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:17:43 +0000] "GET /javascripts/bootstrap.bundle.min.js HTTP/1.1" 304 - "http://localhost/blog/newpost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:17:43 +0000] "GET /stylesheets/style.css HTTP/1.1" 304 - "http://localhost/blog/newpost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:17:43 +0000] "GET /images/logo.PNG HTTP/1.1" 304 - "http://localhost/blog/newpost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:17:55 +0000] "POST /blog HTTP/1.1" 500 2 "http://localhost/blog/newpost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:18:04 +0000] "GET /blog HTTP/1.1" 200 449 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:18:12 +0000] "GET /blog HTTP/1.1" 304 - "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:18:23 +0000] "GET /blog/newpost HTTP/1.1" 304 - "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:18:23 +0000] "GET /stylesheets/bootstrap.min.css HTTP/1.1" 304 - "http://localhost/blog/newpost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:18:23 +0000] "GET /javascripts/bootstrap.bundle.min.js HTTP/1.1" 304 - "http://localhost/blog/newpost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:18:23 +0000] "GET /stylesheets/style.css HTTP/1.1" 304 - "http://localhost/blog/newpost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:18:23 +0000] "GET /images/logo.PNG HTTP/1.1" 304 - "http://localhost/blog/newpost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:18:36 +0000] "POST /blog HTTP/1.1" 500 2 "http://localhost/blog/newpost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:18:38 +0000] "GET /blog HTTP/1.1" 200 533 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:19:55 +0000] "GET /blog/newpost HTTP/1.1" 304 - "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:19:55 +0000] "GET /stylesheets/bootstrap.min.css HTTP/1.1" 304 - "http://localhost/blog/newpost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:19:55 +0000] "GET /javascripts/bootstrap.bundle.min.js HTTP/1.1" 304 - "http://localhost/blog/newpost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:19:55 +0000] "GET /stylesheets/style.css HTTP/1.1" 304 - "http://localhost/blog/newpost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:19:55 +0000] "GET /images/logo.PNG HTTP/1.1" 304 - "http://localhost/blog/newpost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:20:06 +0000] "POST /blog HTTP/1.1" 500 23 "http://localhost/blog/newpost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:20:57 +0000] "GET /blog/newPost HTTP/1.1" 200 4120 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:20:57 +0000] "GET /stylesheets/bootstrap.min.css HTTP/1.1" 304 - "http://localhost/blog/newPost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:20:57 +0000] "GET /javascripts/bootstrap.bundle.min.js HTTP/1.1" 304 - "http://localhost/blog/newPost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:20:57 +0000] "GET /stylesheets/style.css HTTP/1.1" 304 - "http://localhost/blog/newPost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:20:57 +0000] "GET /images/logo.PNG HTTP/1.1" 304 - "http://localhost/blog/newPost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:21:12 +0000] "POST /blog HTTP/1.1" 200 4123 "http://localhost/blog/newPost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:21:12 +0000] "GET /stylesheets/bootstrap.min.css HTTP/1.1" 304 - "http://localhost/blog" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:21:12 +0000] "GET /javascripts/bootstrap.bundle.min.js HTTP/1.1" 304 - "http://localhost/blog" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:21:12 +0000] "GET /stylesheets/style.css HTTP/1.1" 304 - "http://localhost/blog" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:21:12 +0000] "GET /images/logo.PNG HTTP/1.1" 304 - "http://localhost/blog" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:21:15 +0000] "GET /blog HTTP/1.1" 200 699 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:22:55 +0000] "GET /blog/newPost HTTP/1.1" 304 - "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:22:55 +0000] "GET /stylesheets/bootstrap.min.css HTTP/1.1" 304 - "http://localhost/blog/newPost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:22:55 +0000] "GET /javascripts/bootstrap.bundle.min.js HTTP/1.1" 304 - "http://localhost/blog/newPost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:22:55 +0000] "GET /stylesheets/style.css HTTP/1.1" 304 - "http://localhost/blog/newPost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:22:55 +0000] "GET /images/logo.PNG HTTP/1.1" 304 - "http://localhost/blog/newPost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:23:01 +0000] "POST /blog HTTP/1.1" 200 4123 "http://localhost/blog/newPost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:23:01 +0000] "GET /stylesheets/bootstrap.min.css HTTP/1.1" 304 - "http://localhost/blog" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:23:01 +0000] "GET /javascripts/bootstrap.bundle.min.js HTTP/1.1" 304 - "http://localhost/blog" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:23:01 +0000] "GET /stylesheets/style.css HTTP/1.1" 304 - "http://localhost/blog" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:23:01 +0000] "GET /images/logo.PNG HTTP/1.1" 304 - "http://localhost/blog" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:23:03 +0000] "GET /blog HTTP/1.1" 200 759 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:25:48 +0000] "GET /blog/newpost HTTP/1.1" 304 - "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:25:48 +0000] "GET /stylesheets/bootstrap.min.css HTTP/1.1" 304 - "http://localhost/blog/newpost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:25:48 +0000] "GET /javascripts/bootstrap.bundle.min.js HTTP/1.1" 304 - "http://localhost/blog/newpost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:25:48 +0000] "GET /stylesheets/style.css HTTP/1.1" 304 - "http://localhost/blog/newpost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:25:48 +0000] "GET /images/logo.PNG HTTP/1.1" 304 - "http://localhost/blog/newpost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:25:57 +0000] "POST /blog HTTP/1.1" 200 4123 "http://localhost/blog/newpost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:25:57 +0000] "GET /stylesheets/bootstrap.min.css HTTP/1.1" 304 - "http://localhost/blog" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:25:57 +0000] "GET /javascripts/bootstrap.bundle.min.js HTTP/1.1" 304 - "http://localhost/blog" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:25:57 +0000] "GET /stylesheets/style.css HTTP/1.1" 304 - "http://localhost/blog" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:25:57 +0000] "GET /images/logo.PNG HTTP/1.1" 304 - "http://localhost/blog" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:27:13 +0000] "POST /blog HTTP/1.1" 200 4123 "http://localhost/blog" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:27:13 +0000] "GET /stylesheets/bootstrap.min.css HTTP/1.1" 304 - "http://localhost/blog" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:27:13 +0000] "GET /javascripts/bootstrap.bundle.min.js HTTP/1.1" 304 - "http://localhost/blog" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:27:13 +0000] "GET /stylesheets/style.css HTTP/1.1" 304 - "http://localhost/blog" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:27:13 +0000] "GET /images/logo.PNG HTTP/1.1" 304 - "http://localhost/blog" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:27:14 +0000] "GET /blog HTTP/1.1" 200 1329229 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:27:34 +0000] "GET /blog/newpost HTTP/1.1" 304 - "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:27:34 +0000] "GET /stylesheets/bootstrap.min.css HTTP/1.1" 304 - "http://localhost/blog/newpost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:27:34 +0000] "GET /javascripts/bootstrap.bundle.min.js HTTP/1.1" 304 - "http://localhost/blog/newpost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:27:34 +0000] "GET /stylesheets/style.css HTTP/1.1" 304 - "http://localhost/blog/newpost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:27:34 +0000] "GET /images/logo.PNG HTTP/1.1" 304 - "http://localhost/blog/newpost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:27:48 +0000] "POST /blog HTTP/1.1" 200 4123 "http://localhost/blog/newpost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:27:48 +0000] "GET /stylesheets/bootstrap.min.css HTTP/1.1" 304 - "http://localhost/blog" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:27:48 +0000] "GET /javascripts/bootstrap.bundle.min.js HTTP/1.1" 304 - "http://localhost/blog" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:27:48 +0000] "GET /stylesheets/style.css HTTP/1.1" 304 - "http://localhost/blog" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:27:48 +0000] "GET /images/logo.PNG HTTP/1.1" 304 - "http://localhost/blog" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:27:49 +0000] "GET /blog HTTP/1.1" 200 527693 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:28:49 +0000] "GET /blog/newpost HTTP/1.1" 304 - "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:28:49 +0000] "GET /stylesheets/bootstrap.min.css HTTP/1.1" 304 - "http://localhost/blog/newpost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:28:49 +0000] "GET /javascripts/bootstrap.bundle.min.js HTTP/1.1" 304 - "http://localhost/blog/newpost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:28:49 +0000] "GET /stylesheets/style.css HTTP/1.1" 304 - "http://localhost/blog/newpost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:28:49 +0000] "GET /images/logo.PNG HTTP/1.1" 304 - "http://localhost/blog/newpost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:29:12 +0000] "POST /blog HTTP/1.1" 200 4123 "http://localhost/blog/newpost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:29:12 +0000] "GET /stylesheets/bootstrap.min.css HTTP/1.1" 304 - "http://localhost/blog" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:29:12 +0000] "GET /javascripts/bootstrap.bundle.min.js HTTP/1.1" 304 - "http://localhost/blog" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:29:12 +0000] "GET /stylesheets/style.css HTTP/1.1" 304 - "http://localhost/blog" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:29:12 +0000] "GET /images/logo.PNG HTTP/1.1" 304 - "http://localhost/blog" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:29:18 +0000] "GET /blog HTTP/1.1" 200 432726 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:35:19 +0000] "GET /blog HTTP/1.1" 304 - "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:38:54 +0000] "GET /blog/newpost HTTP/1.1" 304 - "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:38:54 +0000] "GET /stylesheets/bootstrap.min.css HTTP/1.1" 304 - "http://localhost/blog/newpost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:38:54 +0000] "GET /javascripts/bootstrap.bundle.min.js HTTP/1.1" 304 - "http://localhost/blog/newpost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:38:54 +0000] "GET /stylesheets/style.css HTTP/1.1" 304 - "http://localhost/blog/newpost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:38:54 +0000] "GET /images/logo.PNG HTTP/1.1" 304 - "http://localhost/blog/newpost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:39:04 +0000] "POST /blog HTTP/1.1" 500 1149 "http://localhost/blog/newpost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:39:38 +0000] "GET /blog/newpost HTTP/1.1" 304 - "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:39:38 +0000] "GET /stylesheets/bootstrap.min.css HTTP/1.1" 304 - "http://localhost/blog/newpost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:39:38 +0000] "GET /javascripts/bootstrap.bundle.min.js HTTP/1.1" 304 - "http://localhost/blog/newpost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:39:38 +0000] "GET /stylesheets/style.css HTTP/1.1" 304 - "http://localhost/blog/newpost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:39:38 +0000] "GET /images/logo.PNG HTTP/1.1" 304 - "http://localhost/blog/newpost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:39:53 +0000] "POST /blog HTTP/1.1" 200 4123 "http://localhost/blog/newpost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:39:53 +0000] "GET /stylesheets/bootstrap.min.css HTTP/1.1" 304 - "http://localhost/blog" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:39:53 +0000] "GET /javascripts/bootstrap.bundle.min.js HTTP/1.1" 304 - "http://localhost/blog" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:39:53 +0000] "GET /stylesheets/style.css HTTP/1.1" 304 - "http://localhost/blog" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:39:53 +0000] "GET /images/logo.PNG HTTP/1.1" 304 - "http://localhost/blog" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:40:08 +0000] "POST /blog HTTP/1.1" 200 4123 "http://localhost/blog" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:40:08 +0000] "GET /stylesheets/bootstrap.min.css HTTP/1.1" 304 - "http://localhost/blog" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:40:08 +0000] "GET /javascripts/bootstrap.bundle.min.js HTTP/1.1" 304 - "http://localhost/blog" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:40:08 +0000] "GET /stylesheets/style.css HTTP/1.1" 304 - "http://localhost/blog" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:40:08 +0000] "GET /images/logo.PNG HTTP/1.1" 304 - "http://localhost/blog" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:40:10 +0000] "GET /blog HTTP/1.1" 200 240 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:06:52:57 +0000] "GET /blog HTTP/1.1" 304 - "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:07:05:32 +0000] "GET /blog/1 HTTP/1.1" 200 99 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:07:06:29 +0000] "GET /blog/newpost HTTP/1.1" 304 - "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:07:06:29 +0000] "GET /stylesheets/bootstrap.min.css HTTP/1.1" 304 - "http://localhost/blog/newpost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:07:06:29 +0000] "GET /javascripts/bootstrap.bundle.min.js HTTP/1.1" 304 - "http://localhost/blog/newpost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:07:06:29 +0000] "GET /stylesheets/style.css HTTP/1.1" 304 - "http://localhost/blog/newpost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:07:06:29 +0000] "GET /images/logo.PNG HTTP/1.1" 304 - "http://localhost/blog/newpost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:07:07:00 +0000] "POST /blog HTTP/1.1" 200 4123 "http://localhost/blog/newpost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:07:07:00 +0000] "GET /stylesheets/bootstrap.min.css HTTP/1.1" 304 - "http://localhost/blog" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:07:07:00 +0000] "GET /javascripts/bootstrap.bundle.min.js HTTP/1.1" 304 - "http://localhost/blog" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:07:07:00 +0000] "GET /stylesheets/style.css HTTP/1.1" 304 - "http://localhost/blog" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:07:07:00 +0000] "GET /images/logo.PNG HTTP/1.1" 304 - "http://localhost/blog" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:07:07:01 +0000] "GET /blog HTTP/1.1" 200 413 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"
::1 - - [17/May/2022:07:07:07 +0000] "GET /blog/3 HTTP/1.1" 200 172 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59"

9
app.js

@ -4,6 +4,7 @@ var path = require('path');
var cookieParser = require('cookie-parser');
var fs = require('fs');
var logger = require('morgan');
var fileUpload = require('express-fileupload');
var indexRouter = require('./routes/index');
var usersRouter = require('./routes/users');
@ -12,17 +13,23 @@ var blogRouter = require('./routes/blog');
var app = express();
//Log to File
var accessLogStream = fs.createWriteStream(path.join('./', 'access.log'), {flags: 'a'});
var accessLogStream = fs.createWriteStream(path.join(__dirname, 'access.log'), { flags: 'a' });
// view engine setup
app.set('views', path.join(__dirname, 'views'));
app.set('view engine', 'ejs');
app.use(fileUpload({
createParentPath: true
}));
app.use(logger('dev'));
app.use(logger('combined', { stream: accessLogStream }));
app.use(express.json());
app.use(express.urlencoded({ extended: false }));
app.use(cookieParser());
app.use(express.static(path.join(__dirname, 'public')));
app.use(express.static('uploads'));
app.use('/', indexRouter);
app.use('/users', usersRouter);

18
controllers/blogController.js

@ -12,13 +12,29 @@ var getAllPosts=(req, res) => {
}
var createPost = (req, res) => {
let fileName = '';
try {
if (!req.files) {
console.log('keine Datei hochgeladen');
} else {
let file = req.files.datei;
file.mv('./uploads/' + file.name);
console.log('Upload erfolgreich' + file.name);
fileName = './uploads/' + file.name;
}
} catch (err) {
res.status(500).send(err);
}
let blogeintrag = {
id: blogInhalt.length ? blogInhalt[blogInhalt.length - 1].id + 1 : 1,
title: req.body.title,
username: req.body.username,
date: req.body.date,
text : req.body.text
text: req.body.text,
datei: fileName
}
console.log(blogeintrag);

28
public/models/blog.json

@ -1,30 +1,26 @@
[
{
"id": 1,
"title": "Titel 3",
"title": "titel eins",
"username": "name",
"date": "",
"text": "Text"
"text": "texteintrag ohne Bild",
"datei": ""
},
{
"id": 2,
"title": "4",
"username": "",
"title": "titel zwei",
"username": "von mir",
"date": "",
"text": "rrde"
"text": "Blogeintrag mit Bild",
"datei": "./uploads/DSC_0188.jpg"
},
{
"id": 3,
"title": "titel eines blogs",
"username": "",
"date": "",
"text": ""
},
{
"id": 4,
"title": "und noch ein Blog",
"username": "",
"date": "",
"text": ""
"title": "ein neuer Titel",
"username": "von einem Nutzer",
"date": "2022-05-12",
"text": "ein schöner Text mit tollem Bild",
"datei": "./uploads/farbsplash-56da4e18.jpeg"
}
]

4
routes/blog.js

@ -15,8 +15,4 @@ router.get('/newPost', function (req, res, next) {
router.route('/:postID')
.get(blogControllers.getPost);
router.get('/:postID', function (req, res, next) {
blogControllers.getPost;
});
module.exports = router;

BIN
uploads/DSC_0188.jpg

After

Width: 1620  |  Height: 1080  |  Size: 123 KiB

BIN
uploads/farbsplash-56da4e18.jpeg

After

Width: 1200  |  Height: 630  |  Size: 107 KiB

14
views/blogPost.ejs

@ -49,18 +49,18 @@
<!-- Content -->
<div id="centered">
<form action="/blog" method="post" id="blogeintrag">
<label for="/title">Titel: </label>
<form enctype="multipart/form-data" action="/blog" method="post" id="blogeintrag">
<label for="title">Titel: </label>
<input type="text" id="title" name="title" placeholder="Titel"><br>
<!-- id: zum eindeutigen erkennen (for -> ID); name: veriablenname, der an js gesendet wird-->
<label for="/username">Benutzername: </label>
<label for="username">Benutzername: </label>
<input type="text" id="username" name="username" placeholder="musterMax007"><br>
<label for="/date">Datum: </label>
<label for="date">Datum: </label>
<input type="date" id="date" name="date" placeholder="01.01.2022"><br>
<label for="/text">Text: </label>
<label for="text">Text: </label>
<input type="text" id="text" name="text" placeholder="Hier könnte ihr Blogeintrag stehen..."><br>
<label for="/file">File: </label>
<input type="file" id="file" name="file" placeholder="Bild oder Video hinzufügen"><br>
<label for="datei">File: </label>
<input type="file" id="datei" name="datei" placeholder="Bild oder Video hinzufügen"><br>
<div id="submit_btn">
<input type="submit" value="Submit">
</div>

Loading…
Cancel
Save