Report this

What is the reason for this report?

Gin: Deeply Rooted Static Files Not Loading

Posted on October 3, 2022

I have a gin application in which not all the static files load. Deeply rooted static files do not load.

### **Static file path**

##    repository

        assets

           project_1

             css/style.css

             vendor/aos/bootstrap

Files in the **aos ** folder do not load, but files in the **css ** folder load. I have tried router.Static(“/asset”, “./repository/assets”) but it does not work.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.