Просмотр исходного кода

fix: github 관련 레거시 url 변경

doda 4 лет назад
Родитель
Сommit
a8162dfa6e
3 измененных файлов с 3 добавлено и 3 удалено
  1. 1 1
      route/api_version.py
  2. 1 1
      route/main_update.py
  3. 1 1
      views/tenshi/index.html

+ 1 - 1
route/api_version.py

@@ -11,7 +11,7 @@ def api_version_2(conn, r_ver, c_ver):
     up_data = up_data[0][0] if up_data and up_data[0][0] in ['stable', 'beta', 'dev'] else 'stable'
 
     try:
-        data = urllib.request.urlopen('https://raw.githubusercontent.com/2du/openNAMU/' + up_data + '/version.json')
+        data = urllib.request.urlopen('https://raw.githubusercontent.com/openNAMU/openNAMU/' + up_data + '/version.json')
     except:
         data = None
 

+ 1 - 1
route/main_update.py

@@ -50,7 +50,7 @@ def main_update_2(conn, r_ver):
                     <li>''' + load_lang('version') + ' : ' + r_ver + '''</li>
                     <li id="ver_send" style="display: none;">''' + load_lang('lastest') + ''' : </li>
                 </ul>
-                <a href="https://github.com/2du/openNAMU">(Beta)</a> <a href="https://github.com/2du/openNAMU/tree/stable">(Stable)</a>
+                <a href="https://github.com/openNAMU/openNAMU">(Beta)</a> <a href="https://github.com/openNAMU/openNAMU/tree/stable">(Stable)</a>
                 <hr class=\"main_hr\">
                 <form method="post">
                     <button type="submit">''' + load_lang('update') + '''</button>

+ 1 - 1
views/tenshi/index.html

@@ -181,7 +181,7 @@
                 {{imp[1][1]|safe}}
                 <br>
                 <br>
-                <a href="https://github.com/2du/openNAMU"><img id="b_logo" src="/views/main_css/file/s_logo.png"></a>
+                <a href="https://github.com/openNAMU/openNAMU"><img id="b_logo" src="/views/main_css/file/s_logo.png"></a>
             </div>
         </div>
         <div id="nav_bar">