Commit Graph

15 Commits

Author SHA1 Message Date
0a9c2e82d5
refactor: combine sites into one
CORS was "cors"ing some issues (heh).

But also it is easier to maintain this way. Development was made much more difficult when I separated it. Combining it all also improves SEO
2023-08-13 17:34:38 +01:00
e8bc50bbdf
refactor: move blog to separate app
I'd ideally like to keep the blog. subdomain the same, and while there are a few ways to achieve this it is much simpler to just dedicate a separate application for the subdomain.

This change also adjusts the webhost builder extensions to default to ports 443/80, and each app now explicitly sets the port it needs.
2023-08-12 20:13:47 +01:00
641313f97a
refactor: remove Author schema
Introducing new User which serves both as author model and credential model
2023-08-12 14:24:27 +01:00
9d0e16abc1
feat: add CORS for /api/blog controller 2023-08-11 17:16:26 +01:00
54f3706ba0
refactor: move blog api controller to project root 2023-08-11 16:32:11 +01:00
2d4d6d3823
refactor: amend c2deccafae
Define new Area for blog
2023-08-11 14:26:21 +01:00
0ecef1a547
refactor: match db change from INT to UUID for pkeys 2023-08-11 14:09:13 +01:00
3e20e41565
refactor: use HttpGet for api routes 2023-08-10 22:57:24 +01:00
d3958fc22c
feat: validate referer on all routes 2023-08-10 22:56:49 +01:00
159e1ad65d
refactor: return Ok(...) instead of building a JsonResult 2023-08-10 22:55:52 +01:00
9d46d6495e
fix: 0-pad Published properties 2023-08-10 22:53:15 +01:00
d6c24d80c1
fix: remove stdout diagnostic print 2023-08-10 22:52:43 +01:00
506347ce9c
feat: add pre-formatted date "dddd, d MMMM yyyy HH:mm" 2023-08-10 15:32:34 +01:00
3868fcbaa8
feat: add pre-humanized timestamp to api schema 2023-08-10 14:34:52 +01:00
95dd7e51e5
perf: add dynamic fetch of blog posts to speed up page load 2023-08-10 04:56:12 +01:00