1
0
Fork 0
forked from OpenNeo/impress

Use impress-outfit-images.openneo.net outfit URLs

Oops, right, I meant to use the new `impress-outfit-images.openneo.net` host for this! It works just fine from `impress-2020.openneo.net` as the backing source right now, but I want these semi-permanent URLs to be a bit more decoupled.
This commit is contained in:
Emi Matchu 2021-05-20 20:56:21 -07:00 committed by GitHub
parent b31a22d4a1
commit 3e8020cc73
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,7 +32,7 @@ class Outfit < ActiveRecord::Base
# #
# TODO: We're still saving outfit images for now, but we'll stop # TODO: We're still saving outfit images for now, but we'll stop
# doing that if this transition goes well! # doing that if this transition goes well!
base_url = "https://impress-2020.openneo.net/outfits" + base_url = "https://impress-outfit-images.openneo.net/outfits" +
"/#{CGI.escape id.to_s}" + "/#{CGI.escape id.to_s}" +
"/v/#{CGI.escape updated_at.to_i.to_s}" "/v/#{CGI.escape updated_at.to_i.to_s}"
{ {