Bump versions and remove sentry
Some checks failed
release-tag / release-image (push) Failing after 4m26s
Some checks failed
release-tag / release-image (push) Failing after 4m26s
This commit was merged in pull request #10.
This commit is contained in:
@@ -1 +1 @@
|
||||
__version__ = "0.2.0"
|
||||
__version__ = "0.4.0"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
from fastapi import FastAPI, Path, HTTPException, status
|
||||
from fastapi.responses import RedirectResponse, FileResponse
|
||||
from projectorpi.cli import ProjectorSerial, ExtronSerial
|
||||
from fastapi.responses import FileResponse
|
||||
from projectorpi import ProjectorSerial, ExtronSerial
|
||||
from pydantic import BaseModel
|
||||
from time import sleep
|
||||
from typing import Optional
|
||||
@@ -18,7 +18,7 @@ class Response(BaseModel):
|
||||
|
||||
|
||||
@app.get("/")
|
||||
async def index() -> RedirectResponse:
|
||||
async def index() -> FileResponse:
|
||||
return FileResponse("projectorpi_web/index.html")
|
||||
# return RedirectResponse("/docs", HTTPStatus.MOVED_PERMANENTLY)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user