Skip to content

Commit

Permalink
Merge pull request #24 from GrabarzUndPartner/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
Thorn Walli authored Mar 2, 2021
2 parents b7a1b58 + 54fc9c9 commit 274bd2c
Show file tree
Hide file tree
Showing 16 changed files with 59 additions and 1,479 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
key: ${{ matrix.os }}-node-v${{ matrix.node }}-deps-${{ hashFiles(format('{0}{1}', github.workspace, '/package-lock.json')) }}
- name: Build
run: |
npm run static --build-analyze --base=/UnfilteredTruth/ --website-host=https://grabarzundpartner.github.io/UnfilteredTruth
npm run generate --build-analyze --base=/UnfilteredTruth/ --website-host=https://grabarzundpartner.github.io/UnfilteredTruth
mkdir dist/reports dist/reports/webpack
cp -R .reports/webpack/* dist/reports/webpack
touch dist/.nojekyll
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
key: ${{ matrix.os }}-node-v${{ matrix.node }}-deps-${{ hashFiles(format('{0}{1}', github.workspace, '/package-lock.json')) }}
- name: Build
run: |
npm run static --build-analyze --website-host=https://unfilteredtruth.cc
npm run generate --build-analyze --website-host=https://unfilteredtruth.cc
mkdir dist/reports dist/reports/webpack
cp -R .reports/webpack/* dist/reports/webpack
touch dist/.nojekyll
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
12.20.1
12.21.0
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

[![Renovate - Status][renovate-status-src]][renovate-status-href]

- [  **Release Notes**](./CHANGELOG.md)
[  **Release Notes**](./CHANGELOG.md)

`#UnfilteredTruth` is a basic tool to protect a basic right. Recently, US police officers started to play music to prevent citizens from documenting and sharing their actions. The music triggers social media copyright filters and prevents recordings from being shared. This tool provides a fast and simple way to hide the video’s soundtrack from these filters – for fast and simple sharing.

Expand All @@ -29,7 +29,7 @@ Everybody should be able to share video evidence with the world – unobstructed

Learn more about [NuxtJS](https://nuxtjs.org/)

<img src="https://nuxtjs.org/logos/built-with-nuxt.svg" style="width: 240px;" />
<img src="https://nuxtjs.org/logos/built-with-nuxt.svg" width="240" />

## License

Expand Down
18 changes: 0 additions & 18 deletions env/static-server.js

This file was deleted.

4 changes: 0 additions & 4 deletions now.json

This file was deleted.

37 changes: 4 additions & 33 deletions nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ module.exports = {
const key = path.join(dir, 'server.key');
const crt = path.join(dir, 'server.crt');

// eslint-disable-next-line security/detect-non-literal-fs-filename
if (fs.existsSync(key) && fs.existsSync(crt)) {
// eslint-disable-next-line security/detect-non-literal-fs-filename
return { key: fs.readFileSync(key), cert: fs.readFileSync(crt) };
} else {
return null;
Expand Down Expand Up @@ -133,14 +135,12 @@ module.exports = {
},

generate: {
dir: 'dist',
crawler: true
dir: 'dist'
},

render: {
crossorigin: 'anonymous',
resourceHints: true,
http2: { push: true }
resourceHints: true
},

router: {
Expand Down Expand Up @@ -221,37 +221,8 @@ module.exports = {
modules: [
'@/modules/device-detection',
'nuxt-speedkit',
'@/modules/codesandbox',
'@/modules/svg',
'@/modules/analyzer',
'@nuxtjs/axios',
/*
[
'nuxt-i18n', {
locales: [
{
code: 'en',
iso: 'en-US'
},
{
code: 'de',
iso: 'de-DE'
}
],
parsePages: true,
defaultLocale: DEFAULT_LANG,
strategy: 'prefix_except_default',
seo: false,
vueI18nLoader: false,
vueI18n: {
fallbackLocale: DEFAULT_LANG,
messages: {
en: require('./src/globals/locales/en.json'),
de: require('./src/globals/locales/de.json')
}
}
}
], */
[
'@/modules/licence', {
perChunkOutput: false,
Expand Down
Loading

0 comments on commit 274bd2c

Please sign in to comment.