Skip to content
Merged
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 app/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ public function configurations(): array
* Internal configuration of the framework
*/
\Bow\Configuration\LoggerConfiguration::class,
\Bow\Configuration\EnvConfiguration::class,

\Bow\Cache\CacheConfiguration::class,
\Bow\Mail\MailConfiguration::class,
Expand Down
3 changes: 3 additions & 0 deletions assets/css/app.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
32 changes: 16 additions & 16 deletions assets/js/Example.jsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
import React, { Component } from 'react';
import ReactDOM from 'react-dom';
export default class Example extends Component {
render() {
return (
<div>
I'm an example <b><a href="https://reactjs.org">React</a></b> Component.
</div>
);
}
}
if (document.getElementById('main')) {
ReactDOM.render(<Example />, document.getElementById('main'));
}
import React, { Component } from 'react';
import ReactDOM from 'react-dom';

export default class Example extends Component {
render() {
return (
<div>
I'm an example <b><a href="https://reactjs.org">React</a></b> Component.
</div>
);
}
}

if (document.getElementById('main')) {
ReactDOM.render(<Example />, document.getElementById('main'));
}
1 change: 1 addition & 0 deletions assets/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ window.axios = require('axios');
window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';

const token = document.querySelector('meta[name="csrf-token"]');

if (token) {
window.axios.defaults.headers.common['X-Csrf-Token'] = token.getAttribute('content');
}
Expand Down
9 changes: 8 additions & 1 deletion config/mail.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,5 +91,12 @@
"username" => "Address information"
]
]
]
],

/**
* Log driver configuration
*/
"log" => [
"path" => sys_get_temp_dir() . '/bow/mails',
],
];
2 changes: 1 addition & 1 deletion config/queue.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* The beanstalkd connexion
*/
"beanstalkd" => [
"hostname" => "127.0.0.0",
"hostname" => "127.0.0.1",
"port" => 11300,
"timeout" => 10,
"queue" => "default",
Expand Down
21 changes: 9 additions & 12 deletions migrations/Version20170407084225CreateUsersTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,15 @@ class Version20170407084225CreateUsersTable extends Migration
*/
public function up(): void
{
$this->create(
"users",
function (SQLGenerator $table) {
$table->addIncrement('id');
$table->addString('name');
$table->addString('email', ['unique' => true]);
$table->addString('description', ['nullable' => true]);
$table->addString('password');
$table->addTimestamps();
$table->withEngine('InnoDB');
}
);
$this->create("users", function (SQLGenerator $table) {
$table->addIncrement('id');
$table->addString('name');
$table->addString('email', ['unique' => true]);
$table->addString('description', ['nullable' => true]);
$table->addString('password');
$table->addTimestamps();
$table->withEngine('InnoDB');
});
}

/**
Expand Down
Loading
Loading