From 34cd2a2085c9d0f0a6407746db332c04ca24d9e8 Mon Sep 17 00:00:00 2001 From: sevenc-nanashi Date: Fri, 12 Aug 2022 10:03:10 +0900 Subject: [PATCH] =?UTF-8?q?Update:=20URL=E3=82=92=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- configure.rb | 2 +- level_data.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.rb b/configure.rb index 53d764e..e54528b 100644 --- a/configure.rb +++ b/configure.rb @@ -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( diff --git a/level_data.rb b/level_data.rb index 7bef440..4a579ab 100644 --- a/level_data.rb +++ b/level_data.rb @@ -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