Redirect get http 301 instead of 303
This commit is contained in:
parent
5eece0b3ae
commit
96c454226a
|
@ -24,7 +24,7 @@ describe('explorer', function() {
|
||||||
it('should redirect to /explorer/', function(done) {
|
it('should redirect to /explorer/', function(done) {
|
||||||
request(this.app)
|
request(this.app)
|
||||||
.get('/explorer')
|
.get('/explorer')
|
||||||
.expect(303)
|
.expect(301)
|
||||||
.end(done);
|
.end(done);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue