修改 apk
continuous-integration/drone/push Build is passing Details

main
rustdreamer 2 years ago
parent 9733cc58a8
commit ad37c1bbba

@ -28,7 +28,6 @@ COPY production.env development.env
# Run the container under "node" user by default
RUN mkdir apk
COPY ./src/apk/app.apk apk/app.apk
COPY ./src/apk/app1.3.0.apk apk/app1.3.0.apk
USER node
CMD [ "node", "main.js" ]

Binary file not shown.

Binary file not shown.

@ -829,7 +829,7 @@ export class AppController {
async file(
@Res() res: any,
): Promise<any> {
const file_path = join(__dirname, "./apk/app1.3.0.apk")
const file_path = join(__dirname, "./apk/app.apk")
res.sendFile(file_path)
}

@ -24,7 +24,7 @@ import { urlencoded, json } from 'express';
500 INTERNAL SERVER ERROR - [*]
*/
async function bootstrap() {
console.log("当前运行环境 1.3.0", process.env.NODE_ENV)
console.log("当前运行环境 1.3.1", process.env.NODE_ENV)
const app = await NestFactory.create(AppModule);
app.enableCors({
origin(origin, cb) {

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save