forked from mirrors/amnezia-wg-easy
		
	
						commit
						cf94b98482
					
				
					 2 changed files with 7 additions and 31 deletions
				
			
		| 
						 | 
					@ -213,7 +213,7 @@ module.exports = class Server {
 | 
				
			||||||
      }));
 | 
					      }));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    // Static assets
 | 
					    // Static assets
 | 
				
			||||||
    const publicDir = 'www';
 | 
					    const publicDir = '/app/www';
 | 
				
			||||||
    app.use(
 | 
					    app.use(
 | 
				
			||||||
      defineEventHandler((event) => {
 | 
					      defineEventHandler((event) => {
 | 
				
			||||||
        return serveStatic(event, {
 | 
					        return serveStatic(event, {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										36
									
								
								src/package-lock.json
									
										
									
										generated
									
									
									
								
							
							
						
						
									
										36
									
								
								src/package-lock.json
									
										
									
										generated
									
									
									
								
							| 
						 | 
					@ -649,12 +649,6 @@
 | 
				
			||||||
        "url": "https://opencollective.com/typescript-eslint"
 | 
					        "url": "https://opencollective.com/typescript-eslint"
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "node_modules/abbrev": {
 | 
					 | 
				
			||||||
      "version": "1.1.1",
 | 
					 | 
				
			||||||
      "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz",
 | 
					 | 
				
			||||||
      "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==",
 | 
					 | 
				
			||||||
      "dev": true
 | 
					 | 
				
			||||||
    },
 | 
					 | 
				
			||||||
    "node_modules/acorn": {
 | 
					    "node_modules/acorn": {
 | 
				
			||||||
      "version": "7.4.1",
 | 
					      "version": "7.4.1",
 | 
				
			||||||
      "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz",
 | 
					      "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz",
 | 
				
			||||||
| 
						 | 
					@ -3137,21 +3131,6 @@
 | 
				
			||||||
        "node": ">=4"
 | 
					        "node": ">=4"
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "node_modules/nopt": {
 | 
					 | 
				
			||||||
      "version": "1.0.10",
 | 
					 | 
				
			||||||
      "resolved": "https://registry.npmjs.org/nopt/-/nopt-1.0.10.tgz",
 | 
					 | 
				
			||||||
      "integrity": "sha512-NWmpvLSqUrgrAC9HCuxEvb+PSloHpqVu+FqcO4eeF2h5qYRhA7ev6KvelyQAKtegUbC6RypJnlEOhd8vloNKYg==",
 | 
					 | 
				
			||||||
      "dev": true,
 | 
					 | 
				
			||||||
      "dependencies": {
 | 
					 | 
				
			||||||
        "abbrev": "1"
 | 
					 | 
				
			||||||
      },
 | 
					 | 
				
			||||||
      "bin": {
 | 
					 | 
				
			||||||
        "nopt": "bin/nopt.js"
 | 
					 | 
				
			||||||
      },
 | 
					 | 
				
			||||||
      "engines": {
 | 
					 | 
				
			||||||
        "node": "*"
 | 
					 | 
				
			||||||
      }
 | 
					 | 
				
			||||||
    },
 | 
					 | 
				
			||||||
    "node_modules/normalize-path": {
 | 
					    "node_modules/normalize-path": {
 | 
				
			||||||
      "version": "3.0.0",
 | 
					      "version": "3.0.0",
 | 
				
			||||||
      "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",
 | 
					      "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",
 | 
				
			||||||
| 
						 | 
					@ -3437,9 +3416,9 @@
 | 
				
			||||||
      "integrity": "sha512-whLdWMYL2TwI08hn8/ZqAbrVemu0LNaNNJZX73O6qaIdCTfXutsLhMkjdENX0qhsQ9uIimo4/aQOmXkoon2nDQ=="
 | 
					      "integrity": "sha512-whLdWMYL2TwI08hn8/ZqAbrVemu0LNaNNJZX73O6qaIdCTfXutsLhMkjdENX0qhsQ9uIimo4/aQOmXkoon2nDQ=="
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "node_modules/picocolors": {
 | 
					    "node_modules/picocolors": {
 | 
				
			||||||
      "version": "1.0.0",
 | 
					      "version": "1.0.1",
 | 
				
			||||||
      "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz",
 | 
					      "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.1.tgz",
 | 
				
			||||||
      "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==",
 | 
					      "integrity": "sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==",
 | 
				
			||||||
      "dev": true
 | 
					      "dev": true
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "node_modules/picomatch": {
 | 
					    "node_modules/picomatch": {
 | 
				
			||||||
| 
						 | 
					@ -4424,13 +4403,10 @@
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "node_modules/touch": {
 | 
					    "node_modules/touch": {
 | 
				
			||||||
      "version": "3.1.0",
 | 
					      "version": "3.1.1",
 | 
				
			||||||
      "resolved": "https://registry.npmjs.org/touch/-/touch-3.1.0.tgz",
 | 
					      "resolved": "https://registry.npmjs.org/touch/-/touch-3.1.1.tgz",
 | 
				
			||||||
      "integrity": "sha512-WBx8Uy5TLtOSRtIq+M03/sKDrXCLHxwDcquSP2c43Le03/9serjQBIztjRz6FkJez9D/hleyAXTBGLwwZUw9lA==",
 | 
					      "integrity": "sha512-r0eojU4bI8MnHr8c5bNo7lJDdI2qXlWWJk6a9EAFG7vbhTjElYhBVS3/miuE0uOuoLdb8Mc/rVfsmm6eo5o9GA==",
 | 
				
			||||||
      "dev": true,
 | 
					      "dev": true,
 | 
				
			||||||
      "dependencies": {
 | 
					 | 
				
			||||||
        "nopt": "~1.0.10"
 | 
					 | 
				
			||||||
      },
 | 
					 | 
				
			||||||
      "bin": {
 | 
					      "bin": {
 | 
				
			||||||
        "nodetouch": "bin/nodetouch.js"
 | 
					        "nodetouch": "bin/nodetouch.js"
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue