From 5e2596f131fd4b57ce803a1441f2a6bc4d912ce5 Mon Sep 17 00:00:00 2001 From: Michael Schramm Date: Sun, 13 Feb 2022 22:23:30 +0100 Subject: [PATCH] fix development documentation fixes https://github.com/ohmyform/ui/issues/65 --- CHANGELOG.md | 1 + doc/development.md | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f8926c0..6d5c929 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -36,6 +36,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). - reload form list after adding new one (https://github.com/ohmyform/ohmyform/issues/139) - android screen size fix (https://github.com/ohmyform/ohmyform/issues/114) - sending finish mutation (https://github.com/ohmyform/ui/pull/67) +- fix dev documentation (https://github.com/ohmyform/ui/issues/65) ### Security diff --git a/doc/development.md b/doc/development.md index d5f1a6e..76886d2 100644 --- a/doc/development.md +++ b/doc/development.md @@ -30,10 +30,10 @@ coming into the system will then be rendered on the server. (great for SEO) ### GraphQL Path Per default the graphql endpoint is expected at `/graphql` on the same host as the frontend. -To modify this pass the environment variable API_HOST with the parameter you need. +To modify this pass the environment variable ENDPOINT with the parameter you need. With a local backend you could start ie the dev server with -`API_HOST=http://localhost:4100/graphql yarn start:dev` +`ENDPOINT=http://localhost:4100/graphql yarn start:dev` ## Used Tools / Libraries