Skip to content

Commit

Permalink
docs(astro): Elaborate on custom config paths (#11648)
Browse files Browse the repository at this point in the history
  • Loading branch information
s1gr1d authored Oct 31, 2024
1 parent 77c4c13 commit 9ea051f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/platforms/javascript/guides/astro/manual-setup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,8 @@ Sentry.init({

### Changing config files location

To change the location of your `sentry.(client|server).config.js` files, specify the path to the files in the Sentry Astro integration options in your `astro.config.mjs`:
Sentry automatically detects configuration files named `sentry.(client|server).config.js` in the root of your project. You can rename these files or move them to a custom folder within your project.
To change their location or names, specify the paths in the Sentry Astro integration options in your `astro.config.mjs`:

```javascript {filename:astro.config.mjs}
export default defineConfig({
Expand Down

0 comments on commit 9ea051f

Please sign in to comment.