hugo serve content inside .well-known folder
Asked Answered
E

1

7

Third party application which I'm trying to integrate, asking to put a file inside a .well-known folder. how can I make that file accessible from URL? (example.com/.well-known/token.txt). site is deployed as a gitlab page. every attempt I tried gives 404 error.

Esquibel answered 2/5, 2019 at 11:14 Comment(0)
D
6

If you put your ".well-known" folder inside the "static" folder it should get deployed to the root of your website as you expect.

Dioscuri answered 3/5, 2019 at 16:57 Comment(2)
you saved my dayFlippant
My site redirects to my 404 page. Do I need to do something to expose the .well-known folder? It works when I put it in the root of the site.Parkin

© 2022 - 2024 — McMap. All rights reserved.