Adding a .txt file to root directory of Nextra project #2827
-
Could someone point me in the right direction on how I can add my google ads.txt file to my Nextra project where it can be accessed from the relative URL /ads.txt Everything I've tried doesn't work. |
Beta Was this translation helpful? Give feedback.
Answered by
dimaMachina
Apr 5, 2024
Replies: 2 comments
-
Add it inside /public dir |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
RecursiveFun
-
My mistake. I thought that was the first thing I tried. I was accidentally adding it into another subdirectory in public. Now it works thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add it inside /public dir