Skip to content

Commit

Permalink
Improve documentations
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanelian committed Sep 12, 2022
1 parent 368a8a5 commit 9f31f65
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

- Visual Studio Code breakpoint and debugging configured

- Responsive dashboard (top and side navigation bar) template
- Responsive dashboard with sidebar template

- `Page` Component Type: Supports variable layout

Expand Down Expand Up @@ -186,10 +186,10 @@ docker network create network-name
```sh
docker run \
-e WEBSITE_NAME="Accelist Next.js Starter" \
-e AZURE_AD_B2C_TENANT_NAME=accelistadb2c \
-e AZURE_AD_B2C_CLIENT_ID=8234d7c5-e1ce-4dc5-a4b8-f8c85b73f759 \
-e AZURE_AD_B2C_PRIMARY_USER_FLOW=B2C_1_AccelistNextjsStarter \
-e BACKEND_HOST=http://localhost:5000 \
-e BACKEND_HOST="http://localhost:5000" \
-e OIDC_AUTHORITY="https://sso.accelist.com/auth/realms/Dev" \
-e OIDC_CLIENT_ID="accelist-nextjs-starter" \
-e OIDC_SCOPE="openid profile email offline_access" \
-p 80:80 \
--network network-name \
--restart always \
Expand Down
2 changes: 1 addition & 1 deletion pages/dashboard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const Dashboard: React.FC = () => {

const [selectedRowKeys, setSelectedRowKeys] = useState<React.Key[]>([]);

// Because <Dashboard> is inside <Authorize> we can use the access token
// Because <Dashboard> is inside <OidcSecure> we can use the access token
// to create an SWR Fetcher with Authorization Bearer header
const swrFetcher = useAuthorizedSwrFetcher();

Expand Down

0 comments on commit 9f31f65

Please sign in to comment.