CORS

A 1-post collection

Hugo CORS Issue and the baseUrl Parameter

By My Ultimate Guide For Everything |  Apr 22, 2023  | cors, hugo, baseurl
CORS issue hosting a Hugo website Hugo is a popular static site generator that simplifies the process of creating and deploying websites. One of the key features of Hugo is its ability to configure the base URL for your website. However, if the base URL is set to the www version of the URL, you may receive a cross-origin reference error when attempting to access the naked version of the URL without the www prefix.
Continue Reading...