This commit is contained in:
rustdesk 2024-10-15 00:03:12 +08:00
parent 1708d85307
commit de554a763c
2 changed files with 17 additions and 1 deletions

14
v3/deploy.sh Executable file
View File

@ -0,0 +1,14 @@
#!/usr/bin/env bash
npm run build
cd dist
ln -s pricing/index.html pricing.html
ln -s terms/index.html terms.html
ln -s success/index.html success.html
ln -s cancel/index.html cancel.html
ln -s privacy/index.html privacy.html
ln -s about/index.html about.html
tar czf x *
scp x ot:/tmp/
ssh ot "sudo tar xzf /tmp/x -C /var/www/html/v3 && /bin/rm /tmp/x && sudo chown www-data:www-data /var/www/html/v3 -R"
/bin/rm x
cd -

View File

@ -13,6 +13,7 @@ const metadata = {
<script>
import Swal from 'sweetalert2';
import 'sweetalert2/dist/sweetalert2.min.css';
window['gotoBuy'] = function (redirectUrl) {
Swal.fire({
title: 'Please Confirm',
@ -389,7 +390,8 @@ const metadata = {
{
title: 'Ready!',
icon: 'tabler:check',
description: 'For detailed instructions, please refer to our <a class="underline" target="_blank" href="https://rustdesk.com/docs/en/self-host/rustdesk-server-pro/license/">documentation</a>.',
description:
'For detailed instructions, please refer to our <a class="underline" target="_blank" href="https://rustdesk.com/docs/en/self-host/rustdesk-server-pro/license/">documentation</a>.',
},
]}
image={{