fastboot-app-server icon indicating copy to clipboard operation
fastboot-app-server copied to clipboard

FastBoot App Server without SSR

Open viniciussbs opened this issue 7 years ago • 2 comments

Hi!

Is it possible to serve an Ember app using fastboot-app-server but turning off the SSR? I would like to start serving a legacy app using fastboot-app-server following lightning workflow, but this legacy app is not compatible to FastBoot right now.

viniciussbs avatar May 07 '18 19:05 viniciussbs

@viniciussbs What parts of the fastboot-app-server do you want to take advantage of other than SSR?

kiwiupover avatar May 07 '18 19:05 kiwiupover

I can't make the app compatible to FastBoot right now, so I would like to split this migration in two steps:

  1. Configure the deploy/server strategy (use ember-cli-deploy following lightning strategy with S3 downloader and notifier for fastboot-app-server) with SSR turned off
  2. Make the compatible to FastBoot and turn SSR on.

I have multiple subdomains to the same Ember app. With a configured server, I could write a afterware to replace the app.css URL to a client specific CSS file or other client specific logic to index.html. That's why I would like the benefit of the server without the SSR.

viniciussbs avatar May 07 '18 20:05 viniciussbs