Skip to content

Commit

Permalink
fix: vendor path (#1119)
Browse files Browse the repository at this point in the history
* fix vendor path

Resolves icons and other issues

* change
  • Loading branch information
knownasilya authored Aug 21, 2020
1 parent 8cb6d94 commit 0c99729
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
9 changes: 6 additions & 3 deletions apps/strider/lib/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
11 changes: 11 additions & 0 deletions common/changes/strider/fix-vendor-path_2020-08-21-01-48.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"packageName": "strider",
"comment": "Fix vendor path",
"type": "patch"
}
],
"packageName": "strider",
"email": "knownasilya@gmail.com"
}

1 comment on commit 0c99729

@vercel
Copy link

@vercel vercel bot commented on 0c99729 Aug 21, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.