Update README with corrected repo name and formatting

Changed repository references from 'xdpl' to 'XDPL' for consistency and updated code block indentation for improved readability in setup and deployment instructions.
This commit is contained in:
xixu-me committed 2025-07-21 11:09:01 +08:00
1 parent d5812cf287
commit 7053437152
1 file changed
+23 -23
+23 -23
View File
@@ -28,22 +28,22 @@ A lightweight proxy server for DeepL Translator built with [Nitro](https://nitro
1. Clone the repository: 1. Clone the repository:
```bash ```bash
git clone https://github.com/xixu-me/xdpl.git git clone https://github.com/xixu-me/XDPL.git
cd xdpl cd XDPL
``` ```
2. Install dependencies: 2. Install dependencies:
```bash ```bash
pnpm install pnpm install
``` ```
3. Start the development server: 3. Start the development server:
```bash ```bash
pnpm dev pnpm dev
``` ```
The server will start on `http://localhost:3000` The server will start on `http://localhost:3000`
@@ -76,7 +76,7 @@ fetch('https://your-domain.vercel.app/jsonrpc', {
### Deploy to Vercel ### Deploy to Vercel
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/xixu-me/xdpl) [![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/xixu-me/XDPL)
#### Option 1: One-Click Deploy #### Option 1: One-Click Deploy
@@ -86,27 +86,27 @@ Click the "Deploy with Vercel" button above to deploy instantly.
1. Install Vercel CLI: 1. Install Vercel CLI:
```bash ```bash
npm i -g vercel npm i -g vercel
``` ```
2. Login to your Vercel account: 2. Login to your Vercel account:
```bash ```bash
vercel login vercel login
``` ```
3. Deploy from your project directory: 3. Deploy from your project directory:
```bash ```bash
vercel vercel
``` ```
4. For production deployment: 4. For production deployment:
```bash ```bash
vercel --prod vercel --prod
``` ```
#### Option 3: Deploy via Git Integration #### Option 3: Deploy via Git Integration