mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-16 10:40:12 +00:00
Compare commits
No commits in common. "52ebb7d9d1902075bd42bc23fc4b922211e4b428" and "78606f4a9f45865ef7fd278b8519667bde9778d6" have entirely different histories.
52ebb7d9d1
...
78606f4a9f
7 changed files with 2 additions and 39 deletions
|
|
@ -34,7 +34,6 @@ RUN cargo build --bin avatars --release --target x86_64-unknown-linux-musl
|
|||
RUN cargo build --bin avatar_cleanup --release --target x86_64-unknown-linux-musl
|
||||
RUN cargo build --bin scheduled_tasks --release --target x86_64-unknown-linux-musl
|
||||
RUN cargo build --bin gdpr_worker --release --target x86_64-unknown-linux-musl
|
||||
RUN cargo build --bin premium --release --target x86_64-unknown-linux-musl
|
||||
|
||||
FROM alpine:latest
|
||||
|
||||
|
|
@ -46,4 +45,3 @@ COPY --from=binary-builder /build/target/x86_64-unknown-linux-musl/release/avata
|
|||
COPY --from=binary-builder /build/target/x86_64-unknown-linux-musl/release/avatar_cleanup /avatar_cleanup
|
||||
COPY --from=binary-builder /build/target/x86_64-unknown-linux-musl/release/scheduled_tasks /scheduled_tasks
|
||||
COPY --from=binary-builder /build/target/x86_64-unknown-linux-musl/release/gdpr_worker /gdpr_worker
|
||||
COPY --from=binary-builder /build/target/x86_64-unknown-linux-musl/release/premium /premium
|
||||
|
|
|
|||
|
|
@ -49,4 +49,3 @@ RUN apk add gcompat
|
|||
EOF
|
||||
)"
|
||||
build gdpr_worker
|
||||
build premium
|
||||
|
|
|
|||
|
|
@ -171,14 +171,6 @@ pub async fn middleware(
|
|||
});
|
||||
}
|
||||
}
|
||||
"/info/" => {
|
||||
let response = next.run(request).await;
|
||||
if let Some(ref session) = session {
|
||||
refresh_session_cookie(session, response)
|
||||
} else {
|
||||
response
|
||||
}
|
||||
}
|
||||
"/login" => {
|
||||
if let Some(ref session) = session {
|
||||
// no session here because that shows the "you're logged in as" component
|
||||
|
|
|
|||
|
|
@ -61,7 +61,6 @@ fn router(ctx: ApiContext) -> Router {
|
|||
// processed upside down (???) so we have to put middleware at the end
|
||||
Router::new()
|
||||
.route("/", get(home_handler))
|
||||
.route("/info/", get(|| async { Html(include_str!("../templates/info.html")) }))
|
||||
|
||||
.route("/login/{token}", get(|| async {
|
||||
"handled in auth middleware"
|
||||
|
|
|
|||
|
|
@ -25,8 +25,5 @@
|
|||
{% endif %}
|
||||
|
||||
<br/><br/>
|
||||
<span>for assistance please email us at <a href="mailto:billing@pluralkit.me">billing@pluralkit.me</a></span>
|
||||
<br/>
|
||||
<br/><a href="/info/">pricing/refunds</a>
|
||||
<br/><a href="/">home</a>
|
||||
<p>for assistance please email us at <a href="mailto:billing@pluralkit.me">billing@pluralkit.me</a></p>
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -146,8 +146,5 @@ error initializing paddle client
|
|||
{% endif %}
|
||||
|
||||
<br/><br/>
|
||||
<span>for assistance please email us at <a href="mailto:billing@pluralkit.me">billing@pluralkit.me</a></span>
|
||||
<br/>
|
||||
<br/><a href="/info/">pricing/refunds</a>
|
||||
<br/><a href="/">home</a>
|
||||
<p>for assistance please email us at <a href="mailto:billing@pluralkit.me">billing@pluralkit.me</a></p>
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -1,19 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<head>
|
||||
<title>Billing information - PluralKit Premium</title>
|
||||
<link rel="stylesheet" href="/static/stylesheet.css" />
|
||||
</head>
|
||||
<body>
|
||||
<h2>PluralKit Premium</h2>
|
||||
<h3>Pricing</h3>
|
||||
<p>PluralKit Premium costs $5/mo plus tax applied as per your region.<br/>For any plans longer than 1 month, the equivalent price is applied - for instance, a 3-month plan is $15/3mo plus tax, or a yearly plan is $60/year plus tax.<br/>There is no discount for pre-paying multiple months.</p>
|
||||
|
||||
<h3>Refund policy</h3>
|
||||
<p>We will process any refund requests at our discretion, or where required by law.</p>
|
||||
|
||||
<br/><br/>
|
||||
<span>for assistance please email us at <a href="mailto:billing@pluralkit.me">billing@pluralkit.me</a></span>
|
||||
<br/>
|
||||
<br/><a href="/info/">pricing/refunds</a>
|
||||
<br/><a href="/">home</a>
|
||||
</body>
|
||||
Loading…
Add table
Add a link
Reference in a new issue