Skip to content
Snippets Groups Projects
Commit b1ff0a22 authored by Dean's avatar Dean
Browse files

fix redirect logic, change schema, set major to 0

- object.type == 1 now means "redirect"
- object.long_url is not object.dest_url
    - `ALTER TABLE objects RENAME COLUMN long_url TO dest_url;`
- ensure that 301 with `Location` header is returned on non-preview
  redirects
- set major version to 0, as breaking changes such as this can be
  introduced at any time
parent c2099e06
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment