Removed api caching which fixed random meal fetching
This commit is contained in:
parent
2d4c2de2ff
commit
9a6ec8e165
1 changed files with 0 additions and 3 deletions
|
@ -1,11 +1,8 @@
|
||||||
from pycnic.core import WSGI, Handler
|
from pycnic.core import WSGI, Handler
|
||||||
from key_replacer import KeyReplacer
|
from key_replacer import KeyReplacer
|
||||||
import requests
|
import requests
|
||||||
import requests_cache
|
|
||||||
import json
|
import json
|
||||||
|
|
||||||
requests_cache.install_cache()
|
|
||||||
|
|
||||||
class Base(Handler):
|
class Base(Handler):
|
||||||
hostname = "https://www.themealdb.com/api/json/v1/1/"
|
hostname = "https://www.themealdb.com/api/json/v1/1/"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue