Fortsatta försök att få med api_endpoint genom Flask till frontend.js där den behövs
This commit is contained in:
@@ -33,8 +33,8 @@ def index():
|
||||
logger.debug("API endpoint: %s", api_endpoint)
|
||||
with open('smartassist/src/html/client.html', 'r') as f:
|
||||
client_html = f.read()
|
||||
# logger.debug("Client HTML (first few characters): %s", client_html[:50]) # Print to see if it's loading
|
||||
logger.debug("Client HTML (first few characters): %s", client_html) # Print to see if it's loading
|
||||
logger.debug("Client HTML (first few characters): %s", client_html[:50]) # Print to see if it's loading
|
||||
# logger.debug("Client HTML (all characters): %s", client_html) # Print to see if it's loading
|
||||
|
||||
return render_template('index.html', api_endpoint=api_endpoint, client_content=client_html)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user