diff --git a/README.md b/README.md index ce687f8..2231579 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ APIの参照先をコントロールするために dotenv を使用しています。 `.env` ファイルを作成し、以下のように記述してください。 ``` -URL_API=http://togomedium.org/sparqlist/api/ +URL_API=https://togomedium.org/sparqlist/api/ ``` また、github actions でビルドを行うために同様の Repository Secretsを設定する必要があります。 diff --git a/shared/utils/variables.ts b/shared/utils/variables.ts index a6872cf..ae904dd 100644 --- a/shared/utils/variables.ts +++ b/shared/utils/variables.ts @@ -1,2 +1,2 @@ const ENV_URL_API = typeof process !== "undefined" ? process.env?.URL_API : undefined; -export const URL_API: string = ENV_URL_API ?? "http://togomedium.org/sparqlist/api/"; +export const URL_API: string = ENV_URL_API ?? "https://togomedium.org/sparqlist/api/"; diff --git a/stanzas/gmdb-meta-list/App.stories.tsx b/stanzas/gmdb-meta-list/App.stories.tsx index 0869ebe..f3af43f 100644 --- a/stanzas/gmdb-meta-list/App.stories.tsx +++ b/stanzas/gmdb-meta-list/App.stories.tsx @@ -10,7 +10,7 @@ const Template: ComponentStory = (args) => ; export const Media = Template.bind({}); Media.args = { - apiUrl: "http://togomedium.org/sparqlist/api/list_media", + apiUrl: "https://togomedium.org/sparqlist/api/list_media", initialLimit: 20, title: "List Media", showColumnNames: true, @@ -20,7 +20,7 @@ Media.args = { export const Strains = Template.bind({}); Strains.args = { - apiUrl: "http://togomedium.org/sparqlist/api/list_strains", + apiUrl: "https://togomedium.org/sparqlist/api/list_strains", initialLimit: 20, title: "List Media", showColumnNames: true, @@ -29,7 +29,7 @@ Strains.args = { }; export const Components = Template.bind({}); Components.args = { - apiUrl: "http://togomedium.org/sparqlist/api/list_components", + apiUrl: "https://togomedium.org/sparqlist/api/list_components", initialLimit: 100, title: "List Media", showColumnNames: true, @@ -38,7 +38,7 @@ Components.args = { }; export const ChildItems = Template.bind({}); ChildItems.args = { - apiUrl: "http://togomedium.org/sparqlist/api/gmdb_organism_under_rank_by_taxid?tax_id=293088", + apiUrl: "https://togomedium.org/sparqlist/api/gmdb_organism_under_rank_by_taxid?tax_id=293088", initialLimit: 10, title: "List Media", showColumnNames: true, @@ -48,7 +48,7 @@ ChildItems.args = { export const SimilarMedia = Template.bind({}); SimilarMedia.args = { - apiUrl: "http://togomedium.org/sparqlist/api/gmdb_list_similar_media_by_gmid?gm_id=M1", + apiUrl: "https://togomedium.org/sparqlist/api/gmdb_list_similar_media_by_gmid?gm_id=M1", initialLimit: 10, title: "List similar media", showColumnNames: true, diff --git a/stanzas/gmdb-meta-list/metadata.json b/stanzas/gmdb-meta-list/metadata.json index 93a4568..407e377 100644 --- a/stanzas/gmdb-meta-list/metadata.json +++ b/stanzas/gmdb-meta-list/metadata.json @@ -17,7 +17,7 @@ "stanza:parameter": [ { "stanza:key": "api_url", - "stanza:example": "http://togomedium.org/sparqlist/api/list_media", + "stanza:example": "https://togomedium.org/sparqlist/api/list_media", "stanza:description": "URL of the SPARQList API with queries", "stanza:required": true },