新增: - backend/venv/ - Python 虚拟环境 - backend/start.sh - 启动脚本(使用虚拟环境) - backend/requirements.txt - 依赖列表 - .gitignore - 忽略虚拟环境和缓存文件 说明: - 每个项目使用独立虚拟环境 - 避免依赖冲突 - 启动脚本自动创建和激活虚拟环境
14 lines
476 B
JavaScript
14 lines
476 B
JavaScript
/* -*- Mode: js; js-indent-level: 2; -*- */
|
|
/*
|
|
* Copyright 2011 Mozilla Foundation and contributors
|
|
* Licensed under the New BSD license. See LICENSE or:
|
|
* http://opensource.org/licenses/BSD-3-Clause
|
|
*/
|
|
"use strict";
|
|
|
|
// Note: This file is overridden in the 'package.json#browser' field to
|
|
// substitute lib/url-browser.js instead.
|
|
|
|
// Use the URL global for Node 10, and the 'url' module for Node 8.
|
|
module.exports = typeof URL === "function" ? URL : require("url").URL;
|