Skip to content
This repository was archived by the owner on Jun 28, 2021. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
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
1 change: 0 additions & 1 deletion server/config/express.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ export default function(server) {
server.use(cors());

// Static content
server.use(favicon(path.join((process.env.PWD || process.env.pm_cwd) , '/static/images/favicon.ico')));
server.use(express.static(path.join(process.env.PWD || process.env.pm_cwd, '/static')));
server.use('/public', express.static(path.join((process.env.PWD || process.env.pm_cwd), '/static/dist')));
// server.use('/build', express.static(path.join((process.env.PWD || process.env.pm_cwd), '/static/dist')));
Expand Down
2 changes: 1 addition & 1 deletion src/helpers/Html.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ const Html = ({ store, component, assets }) => {
{head.base.toComponent()}
{head.title.toComponent()}
{head.meta.toComponent()}
<link rel="shortcut icon" href="//quran-1f14.kxcdn.com/images/favicon.ico" />
{head.link.toComponent()}
{head.script.toComponent()}
{head.style.toComponent()}

{Object.keys(assets.styles).map((style, i) => (
<link
href={assets.styles[style]}
Expand Down