abaga129 / sveltekit-adapter-iis

15 stars 5 forks source link

README doesn't mention `overrideNodeExePath` #13

Closed ablesea closed 9 months ago

ablesea commented 9 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
    }),
  },
}