From 37c82b28271dcc8a78a5cb3ac05610c163de635a Mon Sep 17 00:00:00 2001 From: Tylah Kapa Date: Wed, 9 Oct 2024 10:53:05 +1000 Subject: [PATCH] Update with Your site is served on a different base path --- content/docs/introduction/faq.mdx | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/content/docs/introduction/faq.mdx b/content/docs/introduction/faq.mdx index 78ec42f97..510c790c6 100644 --- a/content/docs/introduction/faq.mdx +++ b/content/docs/introduction/faq.mdx @@ -1,6 +1,6 @@ --- title: FAQ -last_edited: '2024-07-31T14:00:00.000Z' +last_edited: '2024-10-09T00:48:59.795Z' next: '' previous: '' --- @@ -138,6 +138,14 @@ This error means that the TinaCMS admin HTML file failed to load the JavaScript When you run `tinacms dev` locally, Tina will generate a development admin/index.html file, which loads its assets from localhost. For production, this file should be built in CI using `tinacms build`. If a developer manually removes the admin/index.html file from their `.gitignore`, they may run into this issue. +### Your site is served on a different base path + +If your site is served at a sub-directory, ensure that your `build.basePath` is [configured appropriately](/docs/reference/config/#definition) + + + +**Video: FAQ - Setting a base path for TinaCMS (3min)** + ## Common TinaCloud Errors ### How do I resolve the `Unable to find record 'tina/__generated__/_graphql.json'` error? @@ -181,7 +189,7 @@ Error: Unable to fetch, errors: -**Video: Bypassing GitHub branch protection with TinaCMS (3min)** +**Video: FAQ - Bypassing GitHub branch protection with TinaCMS (3min)** Generally this happens when there is branch protection on your main branch and TinaCloud is unable to bypass it. Until July 2024, the TinaCloud GitHub app had admin rights to repositories which allowed it to bypass these rules for most repositories.