更新前端静态网页获取方式,放弃使用后端获取api

This commit is contained in:
2025-09-09 10:47:51 +08:00
parent 6889ca37e5
commit 44a4f1bae1
25558 changed files with 2463152 additions and 153 deletions

24
frontend/node_modules/dotenv-expand/LICENSE generated vendored Normal file
View File

@@ -0,0 +1,24 @@
Copyright (c) 2016, Scott Motte
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

36
frontend/node_modules/dotenv-expand/README.md generated vendored Normal file
View File

@@ -0,0 +1,36 @@
# dotenv-expand
<img src="https://raw.githubusercontent.com/motdotla/dotenv-expand/master/dotenv-expand.png" alt="dotenv-expand" align="right" />
Dotenv-expand adds variable expansion on top of
[dotenv](http://github.com/motdotla/dotenv). If you find yourself needing to
expand environment variables already existing on your machine, then
dotenv-expand is your tool.
[![BuildStatus](https://img.shields.io/travis/motdotla/dotenv-expand/master.svg?style=flat-square)](https://travis-ci.org/motdotla/dotenv-expand)
[![NPM version](https://img.shields.io/npm/v/dotenv-expand.svg?style=flat-square)](https://www.npmjs.com/package/dotenv-expand)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/feross/standard)
## Install
```bash
npm install dotenv --save
npm install dotenv-expand --save
```
## Usage
As early as possible in your application, require dotenv and dotenv-expand, and
wrap dotenv-expand around dotenv.
```js
var dotenv = require('dotenv')
var dotenvExpand = require('dotenv-expand')
var myEnv = dotenv.config()
dotenvExpand(myEnv)
```
See [test/.env](./test/.env) for examples of variable expansion in your `.env`
file.

BIN
frontend/node_modules/dotenv-expand/dotenv-expand.png generated vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

15
frontend/node_modules/dotenv-expand/index.d.ts generated vendored Normal file
View File

@@ -0,0 +1,15 @@
export = dotenv_expand;
interface DotenvResult {
error?: Error;
parsed?: {
[name: string]: string;
};
}
declare function dotenv_expand(config: DotenvResult): DotenvResult;
declare namespace dotenv_expand {
const prototype: {
};
}

25
frontend/node_modules/dotenv-expand/package.json generated vendored Normal file
View File

@@ -0,0 +1,25 @@
{
"name": "dotenv-expand",
"version": "5.1.0",
"description": "Expand environment variables using dotenv",
"main": "lib/main.js",
"scripts": {
"test": "lab test/* --coverage",
"posttest": "npm run lint",
"lint": "standard"
},
"keywords": [
"dotenv",
"expand",
"variables"
],
"author": "motdotla",
"license": "BSD-2-Clause",
"devDependencies": {
"dotenv": "^4.0.0",
"lab": "^13.0.1",
"should": "^11.2.1",
"standard": "^9.0.2"
},
"types": "./index.d.ts"
}