Skip to content

Commit

Permalink
Fixed Canonical URL:
Browse files Browse the repository at this point in the history
  • Loading branch information
dharmesh-hemaram committed Jan 3, 2024
1 parent a43fe7f commit 32607eb
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
NX_RELEASE_VERSION=${{needs.EnvSetup.outputs.NX_RELEASE_VERSION}}
SENTRY_AUTH_TOKEN=${{needs.EnvSetup.outputs.SENTRY_AUTH_TOKEN}}
parallel-commands-on-agents: |
npx nx run-many --target=build --parallel=3 --exclude='tag:puppeteer' --skip-nx-cache
npx nx run-many --target=build --parallel=3 --exclude='tag:puppeteer' --skip-nx-cache --base-href ${{needs.EnvSetup.outputs.PUBLIC_URL}}
final-commands: |
EXTENSION_TARGET_FILE="./dist/apps/acf-extension/manifest.json"
# Use an if-else statement to check if the file exists.
Expand Down
2 changes: 1 addition & 1 deletion apps/acf-options-page/src/app/configs/configs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ function Configs(props) {
</Alert>
)}
<Config />
<Ads />
<Action />
<Ads />
<Footer />
<ConfigSettingsModal />
<BatchModal />
Expand Down
4 changes: 2 additions & 2 deletions apps/acf-options-page/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<meta name="robots" content="index, follow" />
<meta name="author" content="Dhruv Techapps" />
<meta name="publisher" content="Dhruv Techapps" />
<link rel="canonical" href="%PUBLIC_URL%/" />
<link rel="canonical" href="/" />
<link rel="manifest" href="/manifest.json" />

<!-- twitter graph -->
Expand All @@ -39,7 +39,7 @@
/>
<meta name="twitter:image" content="https://getautoclicker.com/docs/3.x/assets/brand/bootstrap-social-logo.png" />
<!-- open graph -->
<meta property="og:url" content="%PUBLIC_URL%" />
<meta property="og:url" content="/" />
<meta property="og:title" content="Auto Clicker - AutoFill" />
<meta
property="og:description"
Expand Down
18 changes: 18 additions & 0 deletions apps/acf-options-page/src/staticwebapp.config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
{
"globalHeaders": {
"Document-Policy": "js-profiling"
},
"responseOverrides": {
"400": {
"rewrite": "/"
},
"401": {
"redirect": "/"
},
"403": {
"rewrite": "/"
},
"404": {
"rewrite": "/"
}
},
"navigationFallback": {
"rewrite": "/index.html",
"exclude": ["/assets/*.{png,jpg,gif}"]
}
}

0 comments on commit 32607eb

Please sign in to comment.