I want to serve the files like robots.txt
, humans.txt
and manifest.json
.
I saw the docs, I didn't find a solution, I have found view.render
only serve HTML not text or JSON or any other file.
I want to serve the files like robots.txt
, humans.txt
and manifest.json
.
I saw the docs, I didn't find a solution, I have found view.render
only serve HTML not text or JSON or any other file.
Copyright © 2021 Jogjafile Inc.
Add folder path and alias in
config/storage.py
Create
root
folder insidestorage
and put therobots.txt
inroot
folder.visit localhost:8000/robots.txt