abaga129 / sveltekit-adapter-iis

14 stars 6 forks source link

README doesn't mention `overrideNodeExePath` #13

Closed ablesea closed 7 months ago

ablesea commented 7 months ago

image

It would be helpful to add a code example with the overrideNodeExePath mentioned in this section. Doing it the current way recommended will cause you to have to change the config in IIS on every deployment.

I propose to add this:

const config = {
  //...
  kit: {
    adapter: IISAdapter({
      overrideNodeExePath: 'C:\\Program Files\\nodejs\\node.exe', // or whatever the node.exe path is
    }),
  },
}