Skip to content

Commit

Permalink
fix: Set alias status code to 302 instead of 307 (#143)
Browse files Browse the repository at this point in the history
Co-authored-by: Trygve Lie <[email protected]>
  • Loading branch information
trygve-lie and Trygve Lie authored Jun 30, 2020
1 parent 56c45e6 commit dccc165
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/handlers/alias.get.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const AliasGet = class AliasGet {

const outgoing = new HttpOutgoing();
outgoing.cacheControl = this._cacheControl;
outgoing.statusCode = 307;
outgoing.statusCode = 302;
outgoing.location = location;

this._log.debug(`alias:get - Alias found - Pathname: ${path}`);
Expand Down

0 comments on commit dccc165

Please sign in to comment.