shokanduel / webapp

Shokan Duel frontend/backend webapp.
GNU Affero General Public License v3.0
2 stars 2 forks source link

Static File Serving #7

Closed ethanmassie closed 3 years ago

ethanmassie commented 3 years ago

Add static file serving to the backend for serving the angular app. Files will be served from dist/apps/client/.

The nestjs module import should look like this in the app.module.ts:

ServeStaticModule.forRoot({
      rootPath: join(__dirname, '..', 'client'),
    })