diff --git a/api/Dockerfile b/api/Dockerfile index 83e8bb420..abb081674 100644 --- a/api/Dockerfile +++ b/api/Dockerfile @@ -32,7 +32,7 @@ RUN dart compile exe bin/server.dart -o bin/server FROM scratch COPY --from=build /runtime/ / COPY --from=build /app/bin/server /app/bin/ -COPY --from=build /app/public /public/ +# COPY --from=build /app/public /public/ # Start server. CMD ["/app/bin/server"] diff --git a/api/routes/public/_middleware.dart b/api/routes/_middleware.dart similarity index 92% rename from api/routes/public/_middleware.dart rename to api/routes/_middleware.dart index 88ad3fb86..8d56ca7ea 100644 --- a/api/routes/public/_middleware.dart +++ b/api/routes/_middleware.dart @@ -2,7 +2,7 @@ import 'package:dart_frog/dart_frog.dart'; import 'package:google_cloud/google_cloud.dart'; import 'package:logging/logging.dart'; -import '../../main.dart'; +import '../main.dart'; Handler middleware(Handler handler) { return handler diff --git a/api/routes/public/index.dart b/api/routes/index.dart similarity index 100% rename from api/routes/public/index.dart rename to api/routes/index.dart diff --git a/api/test/routes/public/index_test.dart b/api/test/routes/index_test.dart similarity index 91% rename from api/test/routes/public/index_test.dart rename to api/test/routes/index_test.dart index 6e85e0517..6936e385e 100644 --- a/api/test/routes/public/index_test.dart +++ b/api/test/routes/index_test.dart @@ -4,7 +4,7 @@ import 'package:dart_frog/dart_frog.dart'; import 'package:mocktail/mocktail.dart'; import 'package:test/test.dart'; -import '../../../routes/public/index.dart' as route; +import '../../routes/index.dart' as route; class _MockRequestContext extends Mock implements RequestContext {}