Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

APL URL を HTTPS化 #1

Merged
merged 1 commit into from
Apr 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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