fix(support): /donate redirect ke oxpoe.xyz, hapus sisa teks aktivasi & nomor
All checks were successful
CI / test (push) Successful in 1m57s
All checks were successful
CI / test (push) Successful in 1m57s
- /donate, /donasi, /public/donasi -> 302 https://oxpoe.xyz - locale id/en: teks kode aktivasi diganti netral, nomor kontak dihapus - README: Gitea utama, Forgejo mirror read-only - hapus nomor dari scripts/test-admin.js
This commit is contained in:
@@ -1973,13 +1973,8 @@ function ensureDonationOrderQrisUnique(baseAmount, donorPhone, donorName, notes)
|
||||
|
||||
// Halaman Publik Donasi QRIS Statis
|
||||
app.get(['/donasi', '/donate', '/public/donasi'], (req, res) => {
|
||||
const settings = getSettingsWithCache();
|
||||
res.render('donate', {
|
||||
settings,
|
||||
company: settings.company_header || 'OPEN-ISP',
|
||||
lang: req.session?.lang || 'id',
|
||||
t: res.locals.t || ((k, d) => d)
|
||||
});
|
||||
// Halaman dukungan dialihkan ke situs eksternal agar bisa dikustomisasi.
|
||||
return res.redirect(302, 'https://oxpoe.xyz');
|
||||
});
|
||||
|
||||
// Endpoint Buat Pesanan Donasi dengan Kode Unik
|
||||
|
||||
Reference in New Issue
Block a user