update: update api

This commit is contained in:
lollipopkit
2023-04-18 22:33:56 +08:00
parent f2b1158eda
commit f903a1da55
6 changed files with 143 additions and 78 deletions

View File

@@ -2,8 +2,8 @@
class BuildData {
static const String name = "ServerBox";
static const int build = 261;
static const String engine = "Flutter 3.7.11 • channel stable • https://github.com/flutter/flutter.git\nFramework • revision f72efea43c (5 days ago) • 2023-04-11 11:57:21 -0700\nEngine • revision 1a65d409c7\nTools • Dart 2.19.6 • DevTools 2.20.1\n";
static const String buildAt = "2023-04-17 13:09:32.878040";
static const int modifications = 5;
static const int build = 262;
static const String engine = "3.7.11";
static const String buildAt = "2023-04-17 18:13:48.223240";
static const int modifications = 4;
}

View File

@@ -1,5 +1,5 @@
const backendUrl = 'https://res.lolli.tech';
const baseUrl = '$backendUrl/toolbox';
const baseUrl = '$backendUrl/serverbox';
const joinQQGroupUrl = 'https://jq.qq.com/?_wv=1027&k=G0hUmPAq';
const myGithub = 'https://github.com/lollipopkit';
const issueUrl = '$myGithub/flutter_server_box/issues';

View File

@@ -3,7 +3,7 @@ import 'package:xterm/core.dart';
import '../model/ssh/virtual_key.dart';
var virtualKeys = [
final virtualKeys = [
VirtualKey('Esc', key: TerminalKey.escape),
VirtualKey('Alt', key: TerminalKey.alt, toggleable: true),
VirtualKey('Home', key: TerminalKey.home),