Compare commits
No commits in common. "main" and "feature/live-indicator" have entirely different histories.
main
...
feature/li
5 changed files with 29 additions and 21 deletions
|
@ -188,7 +188,3 @@ func DeleteSession(db *sqlx.DB, token string) error {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
func DeleteExpiredSessions(db *sqlx.DB) error {
|
|
||||||
_, err := db.Exec("DELETE FROM session WHERE expires_at<current_timestamp")
|
|
||||||
return err
|
|
||||||
}
|
|
||||||
|
|
7
main.go
7
main.go
|
@ -487,13 +487,6 @@ func main() {
|
||||||
fmt.Printf("No accounts exist! Generated invite code: %s\n", invite.Code)
|
fmt.Printf("No accounts exist! Generated invite code: %s\n", invite.Code)
|
||||||
}
|
}
|
||||||
|
|
||||||
// delete expired sessions
|
|
||||||
err = controller.DeleteExpiredSessions(app.DB)
|
|
||||||
if err != nil {
|
|
||||||
fmt.Fprintf(os.Stderr, "FATAL: Failed to clear expired sessions: %v\n", err)
|
|
||||||
os.Exit(1)
|
|
||||||
}
|
|
||||||
|
|
||||||
// delete expired invites
|
// delete expired invites
|
||||||
err = controller.DeleteExpiredInvites(app.DB)
|
err = controller.DeleteExpiredInvites(app.DB)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 1.5 KiB |
|
@ -242,7 +242,7 @@ div#web-buttons {
|
||||||
.live-preview {
|
.live-preview {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
justify-content: start;
|
justify-content: center;
|
||||||
gap: 1em;
|
gap: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -6,8 +6,8 @@
|
||||||
|
|
||||||
<meta property="og:title" content="ari melody">
|
<meta property="og:title" content="ari melody">
|
||||||
<meta property="og:type" content="website">
|
<meta property="og:type" content="website">
|
||||||
<meta property="og:url" content="www.arimelody.space">
|
<meta property="og:url" content="www.arimelody.me">
|
||||||
<meta property="og:image" content="https://www.arimelody.space/img/favicon.png">
|
<meta property="og:image" content="https://www.arimelody.me/img/favicon.png">
|
||||||
<meta property="og:site_name" content="ari melody">
|
<meta property="og:site_name" content="ari melody">
|
||||||
<meta property="og:description" content="home to your local SPACEGIRL 💫">
|
<meta property="og:description" content="home to your local SPACEGIRL 💫">
|
||||||
|
|
||||||
|
@ -101,6 +101,28 @@
|
||||||
<p>
|
<p>
|
||||||
<strong>where to find me 🛰️</strong>
|
<strong>where to find me 🛰️</strong>
|
||||||
</p>
|
</p>
|
||||||
|
<!--
|
||||||
|
<ul class="links">
|
||||||
|
<li>
|
||||||
|
<a href="https://youtube.com/@arispacegirl">youtube</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="https://twitch.tv/arispacegirl">twitch</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="https://arimelody.bandcamp.com">bandcamp</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="https://codeberg.org/arimelody">codeberg</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="https://bsky.app/profile/arimelody.me">bluesky</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="https://discord.gg/MmJtBebF28">discord</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
-->
|
||||||
<ul class="platform-links">
|
<ul class="platform-links">
|
||||||
<li>
|
<li>
|
||||||
<a href="https://youtube.com/@arispacegirl" title="youtube">
|
<a href="https://youtube.com/@arispacegirl" title="youtube">
|
||||||
|
@ -127,13 +149,13 @@
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="https://bsky.app/profile/arimelody.space" title="bluesky">
|
<a href="https://bsky.app/profile/arimelody.me" title="bluesky">
|
||||||
<img src="/img/brand/bluesky.svg" alt="bluesky" width="32" height="32"/>
|
<img src="/img/brand/bluesky.svg" alt="bluesky" width="32" height="32"/>
|
||||||
bluesky
|
bluesky
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="https://arimelody.space/discord" title="discord">
|
<a href="https://discord.gg/MmJtBebF28" title="discord">
|
||||||
<img src="/img/brand/discord.svg" alt="discord" width="32" height="32"/>
|
<img src="/img/brand/discord.svg" alt="discord" width="32" height="32"/>
|
||||||
discord
|
discord
|
||||||
</a>
|
</a>
|
||||||
|
@ -159,7 +181,7 @@
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
<li class="project-item">
|
<li class="project-item">
|
||||||
<img src="https://git.arimelody.me/repo-avatars/6b0a1ffb78cbc6f906f83152ea42a710220174e8f48a3e44f159ae58dacd7a2f" alt="pride flag icon" aria-hidden=true class="project-icon" width="64" height="64">
|
<img src="https://git.arimelody.me/repo-avatars/6b0a1ffb78cbc6f906f83152ea42a710220174e8f48a3e44f159ae58dacd7a2f" alt="catdance icon" aria-hidden=true class="project-icon" width="64" height="64">
|
||||||
<div class="project-info">
|
<div class="project-info">
|
||||||
<a href="https://git.arimelody.me/ari/prideflag">pride flag</a>
|
<a href="https://git.arimelody.me/ari/prideflag">pride flag</a>
|
||||||
<p>progressive pride flag widget for websites</p>
|
<p>progressive pride flag widget for websites</p>
|
||||||
|
@ -202,7 +224,7 @@
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
<div id="web-buttons">
|
<div id="web-buttons">
|
||||||
<a href="https://arimelody.space">
|
<a href="https://arimelody.me">
|
||||||
<img src="/img/buttons/ari melody.gif" alt="ari melody web button" width="88" height="31">
|
<img src="/img/buttons/ari melody.gif" alt="ari melody web button" width="88" height="31">
|
||||||
</a>
|
</a>
|
||||||
<a href="https://supitszaire.com">
|
<a href="https://supitszaire.com">
|
||||||
|
@ -241,9 +263,6 @@
|
||||||
<a href="https://isabelroses.com/">
|
<a href="https://isabelroses.com/">
|
||||||
<img src="/img/buttons/isabelroses.gif" alt="isabel roses web button" width="88" height="31">
|
<img src="/img/buttons/isabelroses.gif" alt="isabel roses web button" width="88" height="31">
|
||||||
</a>
|
</a>
|
||||||
<a href="https://bubblegum.girlonthemoon.xyz/">
|
|
||||||
<img src="/img/buttons/girlonthemoon.png" alt="sweet like bubblegum web button" width="88" height="31">
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue