invalid-urls #18

Merged
bucky merged 5 commits from invalid-urls into master 2023-10-07 21:13:54 -07:00

refactored invalid urls to instead stay on the current page, with a 404 status code, and include the form to create a new url.

refactored invalid urls to instead stay on the current page, with a 404 status code, and include the form to create a new url.
bucky added 5 commits 2023-10-07 21:13:48 -07:00
c7fee27623 update for missing link scenario
+ if the link isn't found, don't redirect it, keep it on the same page
+ it should have a status code of 404
+ it should have the form fields as well

+ added page status check
5bce31baf2 refactored missing link scenario to make more sense
+ 404 code, stay on the current page, and load the form
+ also simplified the logic for the create action if the link doesn't
  already exist
bucky merged commit e6cc0959a4 into master 2023-10-07 21:13:54 -07:00
bucky deleted branch invalid-urls 2023-10-07 21:13:54 -07:00
Poster
Owner

this PR closes bucky/url-shortener#8

this PR closes bucky/url-shortener#8
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: bucky/url-shortener#18
There is no content yet.