Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 3d45582609 |
@@ -218,7 +218,7 @@ settingsRouter.post(
|
|||||||
* Proxies the logo from S3 so the browser never sees an S3 URL.
|
* Proxies the logo from S3 so the browser never sees an S3 URL.
|
||||||
* Returns the image bytes with proper Content-Type.
|
* Returns the image bytes with proper Content-Type.
|
||||||
*/
|
*/
|
||||||
settingsRouter.get("/logo", async (c) => {
|
settingsRouter.get("/logo", requireSuperUser(), async (c) => {
|
||||||
const db = getDb();
|
const db = getDb();
|
||||||
|
|
||||||
const [row] = await db.select().from(businessSettings).limit(1);
|
const [row] = await db.select().from(businessSettings).limit(1);
|
||||||
|
|||||||
Reference in New Issue
Block a user