Skip to content
This repository has been archived by the owner on Mar 9, 2023. It is now read-only.

Commit

Permalink
Update: URLを更新
Browse files Browse the repository at this point in the history
  • Loading branch information
sevenc-nanashi committed Aug 12, 2022
1 parent 4f74487 commit 34cd2a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion configure.rb
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def download_background
def download_jacket
print "\e[90mジャケットをダウンロードしています...\e[m"
data = JSON.parse(
http_get("https://servers.purplepalette.net/levels/#{@chart_id}").body,
http_get("https://servers.purplepalette.net/sonolus/levels/#{@chart_id}").body,
symbolize_names: true,
)
File.write(
Expand Down
2 changes: 1 addition & 1 deletion level_data.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def level_data
q.validate(/[A-Za-z0-9]{12}/, "譜面IDのフォーマットに沿っていません。")
end

get = http_get("https://servers.purplepalette.net/levels/#{@chart_id}")
get = http_get("https://servers.purplepalette.net/sonolus/levels/#{@chart_id}")
if get.code != 200
CPuts.error "譜面が見つかりませんでした。"
exit 1
Expand Down

0 comments on commit 34cd2a2

Please sign in to comment.