tui version
This commit is contained in:
@@ -6,8 +6,8 @@ require 'uri'
|
||||
require_relative '../model/game_model'
|
||||
|
||||
class CatalogRepository
|
||||
API_URL = 'https://games.teletype.hu/api/software'
|
||||
GAMES_URL = 'https://games.teletype.hu'
|
||||
API_URL = 'https://teletypegames.org/api/software'
|
||||
GAMES_URL = 'https://teletypegames.org'
|
||||
|
||||
def fetch
|
||||
uri = URI(API_URL)
|
||||
|
||||
@@ -6,7 +6,7 @@ require 'uri'
|
||||
require_relative '../model/wiki_page_model'
|
||||
|
||||
class WikiRepository
|
||||
BASE_URL = 'https://wiki.teletype.hu'
|
||||
BASE_URL = 'https://wiki.teletypegames.org'
|
||||
|
||||
def initialize(token: nil)
|
||||
@token = token
|
||||
|
||||
Reference in New Issue
Block a user