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

feat: point to /graphql instead of /graphql-beta #190

Merged
merged 1 commit into from
Jan 24, 2020
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
4 changes: 2 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ PORT=4080
OAUTH2_ADMIN_URL=http://hydra.auth.reaction.localhost:4445
OAUTH2_IDP_PUBLIC_CHANGE_PASSWORD_URL=http://localhost:4100/account/change-password?email=EMAIL&from=FROM
OAUTH2_PUBLIC_URL=http://localhost:4444
PUBLIC_GRAPHQL_API_URL_HTTP=http://localhost:3000/graphql-beta
PUBLIC_GRAPHQL_API_URL_WS=ws://localhost:3000/graphql-beta
PUBLIC_GRAPHQL_API_URL_HTTP=http://localhost:3000/graphql
PUBLIC_GRAPHQL_API_URL_WS=ws://localhost:3000/graphql
PUBLIC_FILES_BASE_URL=http://localhost:3000
PUBLIC_I18N_BASE_URL=http://localhost:3000
PUBLIC_STOREFRONT_HOME_URL=http://localhost:4000
Expand Down
4 changes: 2 additions & 2 deletions imports/plugins/core/core/server/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ export default envalid.cleanEnv(process.env, {
}),
PUBLIC_GRAPHQL_API_URL_HTTP: str({
desc: "A URL that is accessible from browsers and accepts GraphQL POST requests over HTTP",
example: "http://localhost:3000/graphql-beta"
example: "http://localhost:3000/graphql"
}),
PUBLIC_GRAPHQL_API_URL_WS: str({
default: "",
desc: "A URL that is accessible from browsers and accepts GraphQL WebSocket connections",
example: "ws://localhost:3000/graphql-beta"
example: "ws://localhost:3000/graphql"
}),
PUBLIC_FILES_BASE_URL: str({
desc: "A URL that has /assets/files and /assets/uploads endpoints for uploading and downloading files",
Expand Down