Skip to content
Snippets Groups Projects
Commit d8123b48 authored by Tomáš Valenta's avatar Tomáš Valenta
Browse files

fix checkTextBoxHeight function, accept any path

parent a3867d18
Branches
No related tags found
No related merge requests found
Pipeline #13259 passed
import { fabric } from 'fabric'
import { clearObjects, sortObjects } from '../../components/canvas/utils'
import { clearObjects, sortObjects, checkTextBoxHeight } from '../../components/canvas/utils'
let textBox = null
......
......@@ -6,8 +6,8 @@
<link rel="stylesheet" href="https://styleguide.pirati.cz/2.12.x/css/styles.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Generátor grafiky</title>
<script type="module" crossorigin src="/static/index-7aa18e1b.js"></script>
<link rel="stylesheet" href="/static/index-656e3210.css">
<script type="module" crossorigin src="/static/index-cca7ba70.js"></script>
<link rel="stylesheet" href="/static/index-ea030523.css">
</head>
<body>
<div id="app"></div>
......
......@@ -9,7 +9,8 @@ frontend_blueprint = flask.Blueprint(
)
@frontend_blueprint.route("/")
@frontend_blueprint.route("/", defaults={"path": ""})
@frontend_blueprint.route("/<path:path>")
@authentication_required
def index() -> flask.Response:
def index(path: str) -> flask.Response:
return flask.render_template("index.html")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment