fixing root route and html title
parent
a425964e4a
commit
7598b23dc6
|
@ -2,7 +2,7 @@
|
|||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>title</title>
|
||||
<title>SMD Resistors</title>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
|
||||
<style type="text/css">
|
||||
.compartment {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
from flask import Flask, Response, jsonify
|
||||
from flask import Flask
|
||||
from .spaceventory import Inventory
|
||||
from .resistors_boxall import fetch_resistors, render
|
||||
import os
|
||||
|
@ -7,6 +7,7 @@ import os
|
|||
def app():
|
||||
app = Flask(__name__)
|
||||
|
||||
@app.route("/")
|
||||
@app.route("/index.html")
|
||||
def resistors():
|
||||
token = os.environ.get("INVENTORY_TOKEN", None)
|
||||
|
|
Loading…
Reference in New Issue