Hi, I can't redirecting to another page using relative path when I use the function: async function & eel.fun()()
The following is my code:
PYTHON:
import eel
eel.init('static')
@eel.expose
@eel.expose
def sign_in(account,pwd):
print(f"our account is {account} & password is {pwd}")
if account != '' or pwd != '':
return 'home.html'
else:
print('input your account or password')
eel.start('sign_in.html',size=(350,400),disable_cache=True)
Hi, I can't redirecting to another page using relative path when I use the function: async function & eel.fun()() The following is my code: PYTHON:
sign_in.html:
sign_in.js:
Could you help me, please Thank you.