Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[err_assertion]: path (string) is required in restify 8.5.1 version #1865

Open
SreekanthOAuth opened this issue Dec 17, 2020 · 0 comments
Open

Comments

@SreekanthOAuth
Copy link

Current version: 6.3.4

We are using the below router to serve the index.html

server.get(/\/?.*/, restify.plugins.serveStatic({
    directory: path.join(__dirname, '../build'),
    default: 'index.html'
})
);

And we are planning to migrate to 8.5.1 version and getting [err_assertion]: path (string) is a required exception.

Would be a great help if you guys can share about the replacement for this.

Thanks,
Sreekanth

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant