diff --git a/scripts/build.js b/scripts/build.js index ac4c9a4..c2f5fa8 100755 --- a/scripts/build.js +++ b/scripts/build.js @@ -21,4 +21,4 @@ exec('npm run swagger bundle -- --yaml -o ' + TARGET_DIR + '/swagger.yaml'); var SWAGGER_UI_DIST = Path.dirname(require.resolve('swagger-ui')); rm('-rf', TARGET_DIR + '/swagger-ui/') cp('-R', SWAGGER_UI_DIST, TARGET_DIR + '/swagger-ui/') -sed('-i', 'http://petstore.swagger.io/v2/swagger.json', '../swagger.json', TARGET_DIR + '/swagger-ui/index.html') +// sed('-i', 'http://petstore.swagger.io/v2/swagger.json', '../swagger.json', TARGET_DIR + '/swagger-ui/index.html')