Skip to content

Commit

Permalink
Fix for custom domain
Browse files Browse the repository at this point in the history
  • Loading branch information
codemonkey85 committed Dec 22, 2023
1 parent 9f9f035 commit a3df483
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main_aboutcodemonkey85.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:

# changes the base-tag in index.html from '/' to 'aboutme' to match GitHub Pages repository subdirectory
- name: Change base-tag in index.html from / to aboutme
run: sed -i 's/<base href="\/" \/>/<base href="\/aboutme\/" \/>/g' release/wwwroot/index.html
run: sed -i 's/<base href="\/" \/>/<base href="\/aboutme.bondcodes.com\/" \/>/g' release/wwwroot/index.html

# copy index.html to 404.html to serve the same file when a file is not found
- name: copy index.html to 404.html
Expand Down
1 change: 1 addition & 0 deletions AboutMe/Wasm/wwwroot/CNAME.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
aboutme.bondcodes.com

0 comments on commit a3df483

Please sign in to comment.