Skip to content

Commit

Permalink
Merge pull request #1 from dbcls/feature/ssl
Browse files Browse the repository at this point in the history
APL URL を HTTPS化
  • Loading branch information
satoshionoda authored Apr 30, 2024
2 parents 936f3be + fa2eebd commit 40c0de4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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を設定する必要があります。

Expand Down
2 changes: 1 addition & 1 deletion shared/utils/variables.ts
Original file line number Diff line number Diff line change
@@ -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/";
10 changes: 5 additions & 5 deletions stanzas/gmdb-meta-list/App.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const Template: ComponentStory<typeof App> = (args) => <App {...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,
Expand All @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion stanzas/gmdb-meta-list/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
},
Expand Down

0 comments on commit 40c0de4

Please sign in to comment.