Skip to content

Commit

Permalink
fix failing spec
Browse files Browse the repository at this point in the history
  • Loading branch information
sorah committed Apr 15, 2024
1 parent 264a4ff commit e85e09d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/nginx.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ http {

if ($host ~* ^(\d+)\.(.*)) {
set $rubykaigi_year $1;
return 301 http://rubykaigi.org/$rubykaigi_year$request_uri;
return 301 https://rubykaigi.org/$rubykaigi_year$request_uri;
}
}

Expand Down
2 changes: 1 addition & 1 deletion spec/200x_rubykaigi_org_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
let(:res) { http_get("http://2006.rubykaigi.org/") }
it "redirects to http://2009-2011.rubykaigi.org/2006/" do
expect(res.code).to eq("301")
expect(res["location"]).to eq("http://2009-2011.rubykaigi.org/2006/")
expect(res["location"]).to eq("https://rubykaigi.org/2006/")
end
end
end

0 comments on commit e85e09d

Please sign in to comment.