Skip to content

Commit cae1886

Browse files
authored
Merge pull request #124 from neonexus/master
Fixed npm audit issues. Fixed metadata generation issue. Fixed setup issue.
2 parents b61dab4 + b42ae2f commit cae1886

File tree

8 files changed

+2181
-1612
lines changed

8 files changed

+2181
-1612
lines changed

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## [v5.2.3](https://github.com/neonexus/sails-react-bootstrap-webpack/compare/v5.2.2...v5.2.3) (2024-04-09)
4+
### Features
5+
6+
* Fixed issue with setup not setting DB SSL correctly.
7+
* Fixed npm audit issues.
8+
* Fixed meta data issue with Favicons.
9+
* Updated dependencies.
10+
311
## [v5.2.2](https://github.com/neonexus/sails-react-bootstrap-webpack/compare/v5.2.1...v5.2.2) (2024-01-24)
412
### Features
513

README.md

+7-5
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,23 @@
11
# sails-react-bootstrap-webpack
22

33
[![Travis CI status](https://img.shields.io/travis/com/neonexus/sails-react-bootstrap-webpack.svg?branch=release&logo=travis)](https://app.travis-ci.com/github/neonexus/sails-react-bootstrap-webpack)
4-
[![Sails version](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fraw.githubusercontent.com%2Fneonexus%2Fsails-react-bootstrap-webpack%2Fv5.2.2%2Fpackage.json&query=%24.dependencies.sails&label=Sails&logo=sailsdotjs)](https://sailsjs.com)
5-
[![React version](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fraw.githubusercontent.com%2Fneonexus%2Fsails-react-bootstrap-webpack%2Fv5.2.2%2Fpackage.json&query=%24.devDependencies.react&label=React&logo=react)](https://react.dev)
6-
[![Bootstrap version](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fraw.githubusercontent.com%2Fneonexus%2Fsails-react-bootstrap-webpack%2Fv5.2.2%2Fpackage.json&query=%24.devDependencies.bootstrap&label=Bootstrap&logo=bootstrap&logoColor=white)](https://getbootstrap.com)
7-
[![Webpack version](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fraw.githubusercontent.com%2Fneonexus%2Fsails-react-bootstrap-webpack%2Fv5.2.2%2Fpackage.json&query=%24.devDependencies.webpack&label=Webpack&logo=webpack)](https://webpack.js.org)
4+
[![Sails version](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fraw.githubusercontent.com%2Fneonexus%2Fsails-react-bootstrap-webpack%2Fv5.2.3%2Fpackage.json&query=%24.dependencies.sails&label=Sails&logo=sailsdotjs)](https://sailsjs.com)
5+
[![React version](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fraw.githubusercontent.com%2Fneonexus%2Fsails-react-bootstrap-webpack%2Fv5.2.3%2Fpackage.json&query=%24.devDependencies.react&label=React&logo=react)](https://react.dev)
6+
[![Bootstrap version](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fraw.githubusercontent.com%2Fneonexus%2Fsails-react-bootstrap-webpack%2Fv5.2.3%2Fpackage.json&query=%24.devDependencies.bootstrap&label=Bootstrap&logo=bootstrap&logoColor=white)](https://getbootstrap.com)
7+
[![Webpack version](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fraw.githubusercontent.com%2Fneonexus%2Fsails-react-bootstrap-webpack%2Fv5.2.3%2Fpackage.json&query=%24.devDependencies.webpack&label=Webpack&logo=webpack)](https://webpack.js.org)
88

99
[//]: # ([![Codecov](https://img.shields.io/codecov/c/github/neonexus/sails-react-bootstrap-webpack?logo=codecov)](https://codecov.io/gh/neonexus/sails-react-bootstrap-webpack))
1010

11-
[![Discord Server](https://img.shields.io/badge/Discord_server-silver?logo=discord)](http://discord.gg/Y5K73E84Tc)
11+
[//]: # ([![Discord Server](https://img.shields.io/badge/Discord_server-silver?logo=discord)](http://discord.gg/Y5K73E84Tc))
1212

1313
This is a starter application, built on [Sails v1](https://sailsjs.com), [React](https://react.dev), [Bootstrap](https://getbootstrap.com), and [Webpack](https://webpack.js.org). It is designed
1414
so that multiple front-ends (a customer front-end, and an admin panel perhaps; more if need be) can live side-by-side, and use the same API. It even has built-in [Ngrok support](#working-with-ngrok).
1515
A virtual start-up in a box!
1616

1717
## Quick Install
1818

19+
NOTE: You will need access to a MySQL / MariaDB database for the setup. If you want to use a different datastore, you'll need to configure it manually.
20+
1921
```shell
2022
npx drfg neonexus/sails-react-bootstrap-webpack my-new-site
2123
cd my-new-site

app.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,6 @@ sails.lift(rc('sails'), (err, server) => {
6464
}
6565

6666
console.log('');
67-
console.log('http://localhost:' + server.config.port);
67+
console.log(server.config.baseUrl);
6868
console.log('');
6969
});

ngrok.js

+1
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@ function afterChecks() {
201201
sails.lift({
202202
...rc('sails'),
203203
baseUrl: ngrokUrl,
204+
http: {...config.http, trustProxy: true}, // See: https://sailsjs.com/documentation/reference/configuration/sails-config-http
204205
port: config.ngrok.port,
205206
security: {
206207
cors: {

0 commit comments

Comments
 (0)