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

fix: vendor path #1119

Merged
merged 2 commits into from
Aug 21, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix vendor path
Resolves icons and other issues
knownasilya committed Aug 21, 2020

Verified

This commit was signed with the committer’s verified signature.
sandy081 Sandeep Somavarapu
commit e890d2583bb5b8527b4b36a6937ad60c50962793
9 changes: 6 additions & 3 deletions apps/strider/lib/app.js
Original file line number Diff line number Diff line change
@@ -138,9 +138,12 @@ exports.init = function (config) {

app.use(
'/vendor',
express.static(path.join(__dirname, '..', 'vendor'), {
maxAge: MONTH_IN_MILLISECONDS,
})
express.static(
path.join(__dirname, '..', '..', '..', 'clients', 'classic-ui', 'vendor'),
{
maxAge: MONTH_IN_MILLISECONDS,
}
)
);

if (config.developing) {