Skip to content

Commit

Permalink
Merge pull request #4080 from nextcloud/bugfix/noid/fix-styleguide-url
Browse files Browse the repository at this point in the history
fix(styleguide): Fix URL replacement to not be 404
  • Loading branch information
nickvergessen committed May 10, 2023
2 parents 65b79d5 + ffe5f9f commit 34ec25f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion styleguide.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ module.exports = async () => {
proxy: {
// redirect to the guest avatar endpoint
'/index.php/avatar': {
target: 'https://nextcloud.com/wp-content/themes/next/assets/img/common/nextcloud-square-logo.png',
target: 'https://raw.githubusercontent.com/nextcloud/promo/master/nextcloud-icon.png',
changeOrigin: true,
ignorePath: true,
secure: false,
Expand Down
2 changes: 1 addition & 1 deletion styleguide/global.requires.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ window.OC = {
}
},
generateUrl() {
return 'https://nextcloud.com/wp-content/themes/next/assets/img/common/nextcloud-square-logo.png'
return 'https://raw.githubusercontent.com/nextcloud/promo/master/nextcloud-icon.png'
},
getLanguage() {
return 'en'
Expand Down

0 comments on commit 34ec25f

Please sign in to comment.