fixing root route and html title
parent
a425964e4a
commit
7598b23dc6
|
@ -2,7 +2,7 @@
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<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">
|
<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">
|
<style type="text/css">
|
||||||
.compartment {
|
.compartment {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from flask import Flask, Response, jsonify
|
from flask import Flask
|
||||||
from .spaceventory import Inventory
|
from .spaceventory import Inventory
|
||||||
from .resistors_boxall import fetch_resistors, render
|
from .resistors_boxall import fetch_resistors, render
|
||||||
import os
|
import os
|
||||||
|
@ -7,6 +7,7 @@ import os
|
||||||
def app():
|
def app():
|
||||||
app = Flask(__name__)
|
app = Flask(__name__)
|
||||||
|
|
||||||
|
@app.route("/")
|
||||||
@app.route("/index.html")
|
@app.route("/index.html")
|
||||||
def resistors():
|
def resistors():
|
||||||
token = os.environ.get("INVENTORY_TOKEN", None)
|
token = os.environ.get("INVENTORY_TOKEN", None)
|
||||||
|
|
Loading…
Reference in New Issue