From 053ff6fa1ba4283360db2bb49319ef736a05b3c3 Mon Sep 17 00:00:00 2001 From: schutzbot Date: Fri, 19 Jul 2024 07:19:43 +0000 Subject: [PATCH] Automated developer guide update --- docs/bootc/index.md | 2 +- .../developer-guide/02-projects/image-builder-frontend/index.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/bootc/index.md b/docs/bootc/index.md index 336cdf89b..c4f7c5620 100644 --- a/docs/bootc/index.md +++ b/docs/bootc/index.md @@ -271,7 +271,7 @@ As an example, let's show how you can add a user to the image: Firstly create a file `./config.toml` and put the following content into it: -```json +```toml [[customizations.user]] name = "alice" password = "bob" diff --git a/docs/developer-guide/02-projects/image-builder-frontend/index.md b/docs/developer-guide/02-projects/image-builder-frontend/index.md index bf4d09391..829cadb94 100644 --- a/docs/developer-guide/02-projects/image-builder-frontend/index.md +++ b/docs/developer-guide/02-projects/image-builder-frontend/index.md @@ -117,7 +117,7 @@ import { FOOBAR_API } from '../constants'; // initialize an empty api service that we'll inject endpoints into later as needed export const emptyFoobarApi = createApi({ reducerPath: 'foobarApi', - baseQuery: fetchBaseQuery({ baseUrl: FOO_BAR }), + baseQuery: fetchBaseQuery({ baseUrl: window.location.origin + FOO_BAR }), endpoints: () => ({}), }); ```